diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 13:15:07 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 15:15:14 +0300 |
commit | 5abca05dcc9d55f60eae4f328f3c201efbc95e66 (patch) | |
tree | a2cb58d0be0fa399d89c3691daaaa7aceefe1244 /gnu/packages/crates-io.scm | |
parent | 41359cea8c0daca98d5b83863f1b99c7cf126a59 (diff) | |
download | guix-5abca05dcc9d55f60eae4f328f3c201efbc95e66.tar.gz |
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.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 77ebde8339..706bb22284 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -25686,8 +25686,36 @@ fixed set of worker threads.") (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 @@ fixed set of worker threads.") (sha256 (base32 "0zgmbny2f8rssqmjdfvnysy0vqwcvlwl6q9f5yixhavlqk7w5dyp")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Tests images not included with release. #:cargo-inputs @@ -25708,13 +25735,7 @@ fixed set of worker threads.") ("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 |