aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm34
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