diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 13:22:25 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-12 15:15:14 +0300 |
commit | cac43cce40154b63605e465d55dd7a58dde9ecb5 (patch) | |
tree | 50cefc8d963f825aef17c8f96481729296788ee3 /gnu | |
parent | 5abca05dcc9d55f60eae4f328f3c201efbc95e66 (diff) | |
download | guix-cac43cce40154b63605e465d55dd7a58dde9ecb5.tar guix-cac43cce40154b63605e465d55dd7a58dde9ecb5.tar.gz |
gnu: Add rust-image-0.23.
* gnu/packages/crates-io.scm (rust-image-0.23): New variable.
(rust-image-0.22): Inherit from rust-image-0.23.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 50 |
1 files changed, 42 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 706bb22284..538471276f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10881,8 +10881,49 @@ SystemTime}}.") ignore files such as .gitignore against file paths.") (license (list license:unlicense license:expat)))) +(define-public rust-image-0.23 + (package + (name "rust-image") + (version "0.23.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "image" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1d2a80k7pwqshliqi5fw1dwkz7q9zd6pjnwpw8zxc1v4xhzmbc5m")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Some test images are missing from the release. + #:cargo-inputs + (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-byteorder" ,rust-byteorder-1.3) + ("rust-gif" ,rust-gif-0.10) + ("rust-jpeg-decoder" ,rust-jpeg-decoder-0.1) + ("rust-num-iter" ,rust-num-iter-0.1) + ("rust-num-rational" ,rust-num-rational-0.3) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-png" ,rust-png-0.16) + ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1) + ("rust-tiff" ,rust-tiff-0.5)) + #:cargo-development-inputs + (("rust-crc32fast" ,rust-crc32fast-1.2) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-glob" ,rust-glob-0.3) + ("rust-num-complex" ,rust-num-complex-0.3) + ("rust-quickcheck" ,rust-quickcheck-0.9)))) + (home-page "https://github.com/image-rs/image") + (synopsis "Imaging library written in Rust") + (description + "Imaging library written in Rust. Provides basic filters and decoders +for the most common image formats.") + (license license:expat))) + (define-public rust-image-0.22 (package + (inherit rust-image-0.23) (name "rust-image") (version "0.22.5") (source @@ -10894,7 +10935,6 @@ ignore files such as .gitignore against file paths.") (sha256 (base32 "0jpbd0p1q7xx6395ba9ikz2k4cfp26qczisa8m2v15w3hzd2mv88")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; Some test images are missing from the release. #:cargo-inputs @@ -10911,13 +10951,7 @@ ignore files such as .gitignore against file paths.") (("rust-crc32fast" ,rust-crc32fast-1.2) ("rust-glob" ,rust-glob-0.3) ("rust-num-complex" ,rust-num-complex-0.2) - ("rust-quickcheck" ,rust-quickcheck-0.9)))) - (home-page "https://github.com/image-rs/image") - (synopsis "Imaging library written in Rust") - (description - "Imaging library written in Rust. Provides basic filters and decoders -for the most common image formats.") - (license license:expat))) + ("rust-quickcheck" ,rust-quickcheck-0.9)))))) (define-public rust-image-0.21 (package |