diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-26 01:23:56 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-25 10:41:42 +0200 |
commit | 2a9521f7cc584caf65ef50b1d020722971a3b1e2 (patch) | |
tree | abc473fa4a4498b535c80e2e4383b96656f390cc | |
parent | b043a3404b659b926088fdfa09ce899afc579e6a (diff) | |
download | patches-2a9521f7cc584caf65ef50b1d020722971a3b1e2.tar patches-2a9521f7cc584caf65ef50b1d020722971a3b1e2.tar.gz |
gnu: Add rust-png-0.12.
* gnu/packages/crates-io.scm (rust-png-0.12): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index de9a9b5ce2..7966a5c9d2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10874,6 +10874,34 @@ used in Cargo build scripts.") ("rust-rand" ,rust-rand-0.5) ("rust-term" ,rust-term-0.4)))))) +(define-public rust-png-0.12 + (package + (inherit rust-png-0.14) + (name "rust-png") + (version "0.12.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "png" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nqlc8lqf8ncv3kj0gzlxwli61dbbxcjlrp176kvilw4sl09cjzm")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-deflate" ,rust-deflate-0.7) + ("rust-inflate" ,rust-inflate-0.4) + ("rust-num-iter" ,rust-num-iter-0.1)) + #:cargo-development-inputs + (("rust-getopts" ,rust-getopts-0.2) + ;; TODO: gluum has many cyclic dependencies with other packages + ;; ("rust-glium" ,rust-glium-0.21) + ("rust-glob" ,rust-glob-0.2) + ("rust-term" ,rust-term-0.4)))))) + (define-public rust-pocket-resources-0.3 (package (name "rust-pocket-resources") |