aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-15 12:59:02 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-06-16 12:47:43 +0200
commit44c3bd8dc986c526322615b94ce915e7d1402d0d (patch)
tree6ee11ecf51e9af98445dfd4cab0509f2f55f30e8
parent85a7fde793e2343115eb1828cc8ea6510c9310b1 (diff)
downloadguix-44c3bd8dc986c526322615b94ce915e7d1402d0d.tar.gz
guix-44c3bd8dc986c526322615b94ce915e7d1402d0d.zip
gnu: Add rust-zstd-0.8.
* gnu/packages/crates-io.scm (rust-zstd-0.8): New variable. (rust-zstd-0.6): Inherit from above.
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 23 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b4c2272c3..02c5ae820c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53917,30 +53917,49 @@ implementation that works everywhere, even WASM!")
"This package provides a library for parsing compiled zoneinfo files.")
(license license:expat)))
-(define-public rust-zstd-0.6
+(define-public rust-zstd-0.8
(package
(name "rust-zstd")
- (version "0.6.1+zstd.1.4.9")
+ (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 "18riavdrq4cy10ygvrxby87nxyxbazpy53qvavc0bwlqyxvmxrax"))))
+ (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-3))))
+ ("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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zstd" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18riavdrq4cy10ygvrxby87nxyxbazpy53qvavc0bwlqyxvmxrax"))))
+ (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))))))
+
(define-public rust-zstd-0.5
(package
(inherit rust-zstd-0.6)