gnu: Add rust-miniz-oxide-0.5.

* gnu/packages/crates-io.scm (rust-miniz-oxide-0.5): New variable.

Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
Nicolas Graves 2022-07-26 19:06:13 +02:00 committed by Marius Bakke
parent d851cecc14
commit 56e17f6493
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -34810,8 +34810,36 @@ (define-public rust-minimal-lexical-0.1
(sha256
(base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w"))))))
(define-public rust-miniz-oxide-0.5
(package
(name "rust-miniz-oxide")
(version "0.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "miniz_oxide" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1k1wfxb35v129mhqy14yqhrj3wvknafrwygiq7zvi0m5iml7ap3g"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-adler" ,rust-adler-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)
("rust-simd-adler32" ,rust-simd-adler32-0.3))))
(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.4
(package
(inherit rust-miniz-oxide-0.5)
(name "rust-miniz-oxide")
(version "0.4.3")
(source
@ -34821,21 +34849,13 @@ (define-public rust-miniz-oxide-0.4
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
(build-system cargo-build-system)
(arguments
`(#: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))))
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
(define-public rust-miniz-oxide-0.3
(package