aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 01:23:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-25 10:41:37 +0200
commitb043a3404b659b926088fdfa09ce899afc579e6a (patch)
tree3e872d06c81adc98717a62260c552d876c4064c9
parentc67c3a676c0f974882df65b42bdee1c4eadefa4a (diff)
downloadpatches-b043a3404b659b926088fdfa09ce899afc579e6a.tar
patches-b043a3404b659b926088fdfa09ce899afc579e6a.tar.gz
gnu: Add rust-png-0.14.
* gnu/packages/crates-io.scm (rust-png-0.14): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3179a0a0fa..de9a9b5ce2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10845,6 +10845,35 @@ used in Cargo build scripts.")
"PNG decoding and encoding library in pure Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-png-0.14
+ (package
+ (inherit rust-png-0.15)
+ (name "rust-png")
+ (version "0.14.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "png" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nf3a8r9p9zrj4x30b48f7yv18dz9xkmrq9b3lnzmpnhzn0z9nk3"))))
+ (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: glium has many cyclic dependencies with other packages
+ ;; ("rust-glium" ,rust-glium-0.22)
+ ("rust-glob" ,rust-glob-0.2)
+ ("rust-rand" ,rust-rand-0.5)
+ ("rust-term" ,rust-term-0.4))))))
+
(define-public rust-pocket-resources-0.3
(package
(name "rust-pocket-resources")