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>
This commit is contained in:
Valentin Ignatev 2020-01-26 01:23:20 +03:00 committed by Efraim Flashner
parent c67c3a676c
commit b043a3404b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -10845,6 +10845,35 @@ (define-public rust-png-0.15
"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")