diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-10 18:24:53 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:50:42 +0100 |
commit | 5d88566fe396e8aaafbedbea192d6a6d2d33eb80 (patch) | |
tree | 16d95c794ab0eef8bf237df0daf24a236d9f9f2c | |
parent | e4deb9219ca0f78261dfccae9271c9531dc5641a (diff) | |
download | guix-patches-5d88566fe396e8aaafbedbea192d6a6d2d33eb80.tar guix-patches-5d88566fe396e8aaafbedbea192d6a6d2d33eb80.tar.gz |
gnu: Add rust-miniz-oxide-0.4.
* gnu/packages/crates-io.scm (rust-miniz-oxide-0.4): New variable.
(rust-miniz-oxide-0.3): Inherit from above.
-rw-r--r-- | gnu/packages/crates-io.scm | 39 |
1 files changed, 30 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index c057df57f9..9b6e2eb75c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22568,8 +22568,37 @@ file's MIME type by its extension.") ("rust-phf-codegen" ,rust-phf-codegen-0.7) ("rust-unicase" ,rust-unicase-1)))))) +(define-public rust-miniz-oxide-0.4 + (package + (name "rust-miniz-oxide") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "miniz_oxide" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-adler" ,rust-adler-0.2) + ("rust-autocfg" ,rust-autocfg-1) + ("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide") + (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder") + (description + "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using +@code{flate2} with the @code{rust_backend} feature provides an easy to use +streaming API for miniz_oxide.") + (license (list license:expat license:zlib license:asl2.0)))) + (define-public rust-miniz-oxide-0.3 (package + (inherit rust-miniz-oxide-0.4) (name "rust-miniz-oxide") (version "0.3.6") (source @@ -22580,17 +22609,9 @@ file's MIME type by its extension.") (sha256 (base32 "198n4hfpq0qcxf275l6fpzh7b9cl7ck2xs6pjgpds74bazv9yrxa")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t - #:cargo-inputs (("rust-adler32" ,rust-adler32-1)))) - (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide") - (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder") - (description - "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using -@code{flate2} with the @code{rust_backend} feature provides an easy to use -streaming API for miniz_oxide.") - (license license:expat))) + #:cargo-inputs (("rust-adler32" ,rust-adler32-1)))))) (define-public rust-miniz-oxide-0.2 (package |