aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 09:47:57 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:14 +0200
commit4a11410792cf09d1c61eccd00b1572c992ca8d82 (patch)
treecc14d5c3add0994359febeb94dd4895005a9a61f /gnu/packages/crates-graphics.scm
parent0ff04b64b48013d1e4048b22784f7213275288da (diff)
downloadguix-4a11410792cf09d1c61eccd00b1572c992ca8d82.tar.gz
guix-4a11410792cf09d1c61eccd00b1572c992ca8d82.zip
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
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm31
1 files changed, 26 insertions, 5 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 6a55994747..2222c2b406 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1452,30 +1452,51 @@ 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.12
+(define-public rust-gif-0.13
(package
(name "rust-gif")
- (version "0.12.0")
+ (version "0.13.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "gif" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0ibhjyrslfv9qm400gp4hd50v9ibva01j4ab9bwiq1aycy9jayc0"))))
+ (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.3)
+ #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)
("rust-glob" ,rust-glob-0.3)
- ("rust-png" ,rust-png-0.17))))
+ ("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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gif" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ibhjyrslfv9qm400gp4hd50v9ibva01j4ab9bwiq1aycy9jayc0"))))
+ (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))))))
+
(define-public rust-gif-0.11
(package
(inherit rust-gif-0.12)