me
/
guix
Archived
1
0
Fork 0

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.
master
Nicolas Goaziou 2021-02-10 18:24:53 +01:00
parent e4deb9219c
commit 5d88566fe3
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 30 additions and 9 deletions

View File

@ -22568,8 +22568,37 @@ file's MIME type by its extension.")
("rust-phf-codegen" ,rust-phf-codegen-0.7) ("rust-phf-codegen" ,rust-phf-codegen-0.7)
("rust-unicase" ,rust-unicase-1)))))) ("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 (define-public rust-miniz-oxide-0.3
(package (package
(inherit rust-miniz-oxide-0.4)
(name "rust-miniz-oxide") (name "rust-miniz-oxide")
(version "0.3.6") (version "0.3.6")
(source (source
@ -22580,17 +22609,9 @@ file's MIME type by its extension.")
(sha256 (sha256
(base32 (base32
"198n4hfpq0qcxf275l6fpzh7b9cl7ck2xs6pjgpds74bazv9yrxa")))) "198n4hfpq0qcxf275l6fpzh7b9cl7ck2xs6pjgpds74bazv9yrxa"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))) #: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)))
(define-public rust-miniz-oxide-0.2 (define-public rust-miniz-oxide-0.2
(package (package