gnu: Add rust-zstd-0.8.

* gnu/packages/crates-io.scm (rust-zstd-0.8): New variable.
(rust-zstd-0.6): Inherit from above.
This commit is contained in:
Nicolas Goaziou 2021-06-15 12:59:02 +02:00
parent 85a7fde793
commit 44c3bd8dc9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -53917,8 +53917,33 @@ (define-public rust-zoneinfo-compiled-0.4
"This package provides a library for parsing compiled zoneinfo files.")
(license license:expat)))
(define-public rust-zstd-0.8
(package
(name "rust-zstd")
(version "0.8.3+zstd.1.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "zstd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gy2rc3hmqpzfkh9f5d395lhwjk8qwpll3gb73bznn2agd60k9sy"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-futures" ,rust-futures-0.1)
("rust-tokio-io" ,rust-tokio-io-0.1)
("rust-zstd-safe" ,rust-zstd-safe-4))))
(home-page "https://github.com/gyscos/zstd-rs")
(synopsis "Binding to the zstd compression library")
(description
"This package provides a binding to the zstd compression library.")
(license license:expat)))
(define-public rust-zstd-0.6
(package
(inherit rust-zstd-0.8)
(name "rust-zstd")
(version "0.6.1+zstd.1.4.9")
(source
@ -53928,18 +53953,12 @@ (define-public rust-zstd-0.6
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "18riavdrq4cy10ygvrxby87nxyxbazpy53qvavc0bwlqyxvmxrax"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-futures" ,rust-futures-0.1)
("rust-tokio-io" ,rust-tokio-io-0.1)
("rust-zstd-safe" ,rust-zstd-safe-3))))
(home-page "https://github.com/gyscos/zstd-rs")
(synopsis "Binding to the zstd compression library")
(description
"This package provides a binding to the zstd compression library.")
(license license:expat)))
("rust-zstd-safe" ,rust-zstd-safe-3))))))
(define-public rust-zstd-0.5
(package