mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add rust-png-0.15.
* gnu/packages/crates-io.scm (rust-png-0.15): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
753a43c2e8
commit
c67c3a676c
1 changed files with 34 additions and 0 deletions
|
@ -10811,6 +10811,40 @@ used in Cargo build scripts.")
|
||||||
"Lazily evaluated, order-independent plugins for extensible types.")
|
"Lazily evaluated, order-independent plugins for extensible types.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-png-0.15
|
||||||
|
(package
|
||||||
|
(name "rust-png")
|
||||||
|
(version "0.15.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "png" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"10x2qkhyfnm3si5vgx77r2ik811gaap7ahi825wfxgsb0lirm1gg"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
|
("rust-crc32fast" ,rust-crc32fast-1.2)
|
||||||
|
("rust-deflate" ,rust-deflate-0.7)
|
||||||
|
("rust-inflate" ,rust-inflate-0.4))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-getopts" ,rust-getopts-0.2)
|
||||||
|
;; TODO: glium has many cyclic dependencies with other packages
|
||||||
|
;;("rust-glium" ,rust-glium-0.24)
|
||||||
|
("rust-glob" ,rust-glob-0.3)
|
||||||
|
("rust-rand" ,rust-rand-0.7)
|
||||||
|
("rust-term" ,rust-term-0.6))))
|
||||||
|
(home-page "https://github.com/image-rs/image-png.git")
|
||||||
|
(synopsis "PNG decoding and encoding library in pure Rust")
|
||||||
|
(description
|
||||||
|
"PNG decoding and encoding library in pure Rust.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-pocket-resources-0.3
|
(define-public rust-pocket-resources-0.3
|
||||||
(package
|
(package
|
||||||
(name "rust-pocket-resources")
|
(name "rust-pocket-resources")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue