mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 11:30:44 +02:00
gnu: Add rust-gif-0.13.
* gnu/packages/crates-graphics.scm (rust-gif-0.13): New variable. (rust-gif-0.12): Inherit from rust-gif-0.13. Change-Id: Ib38c664d99da0b07ec05bade25bece26dc059cf0
This commit is contained in:
parent
0ff04b64b4
commit
4a11410792
1 changed files with 27 additions and 6 deletions
|
@ -1452,8 +1452,34 @@ EUI-64, also known as MAC-48 media access control addresses.")
|
|||
(description "This package is a core library of Gfx-rs.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public rust-gif-0.13
|
||||
(package
|
||||
(name "rust-gif")
|
||||
(version "0.13.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "gif" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1whrkvdg26gp1r7f95c6800y6ijqw5y0z8rgj6xihpi136dxdciz"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Not all files included.
|
||||
#:cargo-inputs (("rust-color-quant" ,rust-color-quant-1)
|
||||
("rust-weezl" ,rust-weezl-0.1))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
|
||||
("rust-glob" ,rust-glob-0.3)
|
||||
("rust-png" ,rust-png-0.17)
|
||||
("rust-rayon" ,rust-rayon-1))))
|
||||
(home-page "https://github.com/image-rs/image-gif")
|
||||
(synopsis "GIF decoder and encoder")
|
||||
(description "This package provides a GIF decoder and encoder in Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-gif-0.12
|
||||
(package
|
||||
(inherit rust-gif-0.13)
|
||||
(name "rust-gif")
|
||||
(version "0.12.0")
|
||||
(source
|
||||
|
@ -1463,18 +1489,13 @@ EUI-64, also known as MAC-48 media access control addresses.")
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0ibhjyrslfv9qm400gp4hd50v9ibva01j4ab9bwiq1aycy9jayc0"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Not all files included.
|
||||
#:cargo-inputs (("rust-color-quant" ,rust-color-quant-1)
|
||||
("rust-weezl" ,rust-weezl-0.1))
|
||||
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
|
||||
("rust-glob" ,rust-glob-0.3)
|
||||
("rust-png" ,rust-png-0.17))))
|
||||
(home-page "https://github.com/image-rs/image-gif")
|
||||
(synopsis "GIF decoder and encoder")
|
||||
(description "This package provides a GIF decoder and encoder in Rust.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-png" ,rust-png-0.17))))))
|
||||
|
||||
(define-public rust-gif-0.11
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue