diff options
author | phodina <phodina@protonmail.com> | 2021-09-15 19:18:12 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-11-03 12:59:08 +0100 |
commit | d46dadbba58d7c8f81076df93c5b7f545c6929f2 (patch) | |
tree | 68d7718117b0d0ccb2e50bcee2052741043bbfcb | |
parent | 31510b0e37a972ee061d67fb63cfae9ddd65eae5 (diff) | |
download | guix-d46dadbba58d7c8f81076df93c5b7f545c6929f2.tar.gz |
gnu: Add rust-deflate-0.9.
* gnu/packages/crates-io.scm (rust-deflate-0.9): New variable. (rust-deflate-0.8): Inherit from ‘rust-deflate-0.9’. (rust-deflate-0.7): Inherit from ‘rust-deflate-0.8‘. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-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 26da791729..1944bf9c35 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13030,34 +13030,55 @@ type.") thread.") (license license:mpl2.0))) -(define-public rust-deflate-0.8 +(define-public rust-deflate-0.9 (package (name "rust-deflate") - (version "0.8.6") + (version "0.9.1") (source (origin (method url-fetch) (uri (crate-uri "deflate" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk")))) + "0w0ww0hrq4bjnihxgbnrri4lj5c8yzg31fyzx36fd9pvvw2vz5az")))) (build-system cargo-build-system) (arguments `(#:tests? #f ; not all test files included #:cargo-inputs (("rust-adler32" ,rust-adler32-1) - ("rust-byteorder" ,rust-byteorder-1) ("rust-gzip-header" ,rust-gzip-header-0.3)) #:cargo-development-inputs (("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))) (home-page "https://github.com/image-rs/deflate-rs") (synopsis "DEFLATE, zlib and gzip encoder written in rust") - (description - "This package provides a DEFLATE, zlib and gzip encoder written in rust.") + (description "This package provides a DEFLATE, zlib and gzip encoder +written in rust.") (license (list license:expat license:asl2.0)))) +(define-public rust-deflate-0.8 + (package + (inherit rust-deflate-0.9) + (name "rust-deflate") + (version "0.8.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "deflate" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0x6iqlayg129w63999kz97m279m0jj4x4sm6gkqlvmp73y70yxvk")))) + (arguments + `(#:tests? #f ; not all test files included + #:cargo-inputs + (("rust-adler32" ,rust-adler32-1) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-gzip-header" ,rust-gzip-header-0.3)) + #:cargo-development-inputs + (("rust-miniz-oxide" ,rust-miniz-oxide-0.3)))))) + (define-public rust-deflate-0.7 (package (inherit rust-deflate-0.8) |