gnu: Add rust-tiff-0.5.

* gnu/packages/crates-io.scm (rust-tiff-0.5): New variable.
(rust-tiff-0.3): Inherit from rust-tiff-0.5.
This commit is contained in:
Efraim Flashner 2020-07-12 13:15:07 +03:00
parent 41359cea8c
commit 5abca05dcc
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -25686,8 +25686,36 @@ (define-public rust-threadpool-1.7
(license (list license:asl2.0
license:expat))))
(define-public rust-tiff-0.5
(package
(name "rust-tiff")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tiff" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32
"0bzzvxcx21pzryxgd7x7a1himiqs2y4k55754wzlr56sqj3qlfrz"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; not all test files included
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1.3)
("rust-lzw" ,rust-lzw-0.10)
("rust-miniz-oxide" ,rust-miniz-oxide-0.3))))
(home-page "https://github.com/image-rs/image-tiff")
(synopsis
"TIFF decoding and encoding library in pure Rust")
(description
"TIFF decoding and encoding library in pure Rust.")
(license license:expat)))
(define-public rust-tiff-0.3
(package
(inherit rust-tiff-0.5)
(name "rust-tiff")
(version "0.3.1")
(source
@ -25699,7 +25727,6 @@ (define-public rust-tiff-0.3
(sha256
(base32
"0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests images not included with release.
#:cargo-inputs
@ -25708,13 +25735,7 @@ (define-public rust-tiff-0.3
("rust-num-derive" ,rust-num-derive-0.2)
("rust-num-traits" ,rust-num-traits-0.2))
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))
(home-page "https://github.com/image-rs/image-tiff")
(synopsis
"TIFF decoding and encoding library in pure Rust")
(description
"TIFF decoding and encoding library in pure Rust.")
(license license:expat)))
(("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-tiff-0.2
(package