gnu: Add rust-miniz-oxide-0.7.

* gnu/packages/crates-io.scm (rust-miniz-oxide-0.7): New variable.
(rust-miniz-oxide-0.6): Inherit from rust-miniz-oxide-0.7.
This commit is contained in:
Efraim Flashner 2023-10-01 21:39:35 +03:00
parent 9561d792f5
commit beb9c06739
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -39356,16 +39356,17 @@ (define-public rust-minimal-lexical-0.2
float parser.")
(license (list license:expat license:asl2.0))))
(define-public rust-miniz-oxide-0.6
(define-public rust-miniz-oxide-0.7
(package
(name "rust-miniz-oxide")
(version "0.6.4")
(source (origin
(method url-fetch)
(uri (crate-uri "miniz-oxide" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08j82769wkgbzfpg0k2qa744w3sg79vx1vsmjw88p1yy5rc15qpj"))))
(version "0.7.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "miniz-oxide" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1ivl3rbbdm53bzscrd01g60l46lz5krl270487d8lhjvwl5hx0g7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@ -39382,6 +39383,25 @@ (define-public rust-miniz-oxide-0.6
streaming API for miniz_oxide.")
(license (list license:expat license:zlib license:asl2.0))))
(define-public rust-miniz-oxide-0.6
(package
(inherit rust-miniz-oxide-0.7)
(name "rust-miniz-oxide")
(version "0.6.4")
(source (origin
(method url-fetch)
(uri (crate-uri "miniz-oxide" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08j82769wkgbzfpg0k2qa744w3sg79vx1vsmjw88p1yy5rc15qpj"))))
(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))))))
(define-public rust-miniz-oxide-0.5
(package
(inherit rust-miniz-oxide-0.6)