aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-08-26 11:17:58 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-08-26 14:25:04 +0200
commit99edce2091b31899f84828670533dae283efb879 (patch)
tree507e91147c55d94ce53dbd63b3d5109efd3d5e90 /gnu
parent37c0f201c27ec9310d857ceb600b36004a6a8079 (diff)
downloadguix-99edce2091b31899f84828670533dae283efb879.tar.gz
guix-99edce2091b31899f84828670533dae283efb879.zip
gnu: Add rust-zstd-0.9.
* gnu/packages/crates-io.scm (rust-zstd-0.9): New variable. (rust-zstd-0.8): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e1cddec3b..087ffa1d27 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56688,8 +56688,33 @@ implementation that works everywhere, even WASM!")
"This package provides a library for parsing compiled zoneinfo files.")
(license license:expat)))
+(define-public rust-zstd-0.9
+ (package
+ (name "rust-zstd")
+ (version "0.9.0+zstd.1.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zstd" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1k9caa048d8x9asksjaf62xkpv0m1wsmw94h29k3csybq9frlx07"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("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.8
(package
+ (inherit rust-zstd-0.9)
(name "rust-zstd")
(version "0.8.3+zstd.1.5.0")
(source
@@ -56699,18 +56724,12 @@ implementation that works everywhere, even WASM!")
(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)))
+ ("rust-zstd-safe" ,rust-zstd-safe-4))))))
(define-public rust-zstd-0.6
(package