diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-23 16:03:35 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:15 +0300 |
commit | ca6aed0889e7284266347336587c7c08e95eb644 (patch) | |
tree | 33743fbbed05d92b321d99f866fb6d84c08bd73a /gnu/packages | |
parent | 2188e64c38e7e19a594938c9faac09c5226c6e4f (diff) |
gnu: Add rust-tiff-0.8.
* gnu/packages/crates-graphics.scm (rust-tiff-0.8): New variable.
(rust-tiff-0.6): Inherit from rust-tiff-0.8.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index d924b5824d..3f0c1bb8e8 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2256,8 +2256,34 @@ first-class Rust objects.") applications.") (license license:expat))) +(define-public rust-tiff-0.8 + (package + (name "rust-tiff") + (version "0.8.1") + (source (origin + (method url-fetch) + (uri (crate-uri "tiff" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0wg4a6w8sakyy0mggblg340mx8bgglx9hwsxsn8g5fpjkx7k6jbl")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Not all files included + #:cargo-inputs + (("rust-flate2" ,rust-flate2-1) + ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.3) + ("rust-weezl" ,rust-weezl-0.1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/image-rs/image-tiff") + (synopsis "TIFF decoding and encoding library in pure Rust") + (description + "This package provides TIFF decoding and encoding library in pure Rust.") + (license license:expat))) + (define-public rust-tiff-0.6 (package + (inherit rust-tiff-0.8) (name "rust-tiff") (version "0.6.1") (source @@ -2267,18 +2293,12 @@ applications.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0ds48vs919ccxa3fv1www7788pzkvpg434ilqkq7sjb5dmqg8lws")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) ("rust-miniz-oxide" ,rust-miniz-oxide-0.4) - ("rust-weezl" ,rust-weezl-0.1)))) - (home-page "https://github.com/image-rs/image-tiff") - (synopsis "TIFF decoding and encoding library in pure Rust") - (description - "This package provides TIFF decoding and encoding library in pure Rust.") - (license license:expat))) + ("rust-weezl" ,rust-weezl-0.1)))))) (define-public rust-tiff-0.5 (package |