summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:03:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:11 +0200
commit6e4058fb0f5a7b96a0b43927fcedb13b386d84cb (patch)
treeff97264d38dcc4a1042a8971e3d6e634bd6b5da6
parent84e64537c9e70c984399944d1e5ea036325ef42c (diff)
gnu: Add rust-gif-0.12.
* gnu/packages/crates-graphics.scm (rust-gif-0.12): New variable. (rust-gif-0.11): Inherit from rust-gif-0.12. Change-Id: I012377ae1e7839aeeffb8df1970d98f8772bb968
-rw-r--r--gnu/packages/crates-graphics.scm32
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 575e4bb02d..54e23dff90 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1149,8 +1149,33 @@ 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
+ (package
+ (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"))))
+ (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))))
+
(define-public rust-gif-0.11
(package
+ (inherit rust-gif-0.12)
(name "rust-gif")
(version "0.11.3")
(source
@@ -1160,16 +1185,11 @@ EUI-64, also known as MAC-48 media access control addresses.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nsfd5qvp69z8kn17ziiq8zv4mclfycyxppf5k9fm2h8g1z1i9y3"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-color-quant" ,rust-color-quant-1)
- ("rust-weezl" ,rust-weezl-0.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))))
+ ("rust-weezl" ,rust-weezl-0.1))))))
(define-public rust-gif-0.10
(package