summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-21 09:21:59 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:30 +0200
commit2a611cec3377e131aeb067e1db92a64c82c4dcd8 (patch)
tree30122ab613fb48d08f21f926b5ea378e7596f7a8
parentc47b5f4adbb9663ce3c81834c57dd826885e7bbc (diff)
gnu: Add rust-zstd-safe-7.
* gnu/packages/crates-io.scm (rust-zstd-safe-7): New variable. (rust-zstd-safe-5): Inherit from rust-zstd-safe-7. Change-Id: I6b9650557e9dcb839ccfd445494dcb4af09954ac
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 22 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4774943199..fd504e7857 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -92463,23 +92463,20 @@ implementation that works everywhere, even WASM!")
("rust-partial-io" ,rust-partial-io-0.5)
("rust-walkdir" ,rust-walkdir-2))))))
-(define-public rust-zstd-safe-5
+(define-public rust-zstd-safe-7
(package
(name "rust-zstd-safe")
- (version "5.0.2+zstd.1.5.2")
+ (version "7.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "zstd-safe" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1nzl4q3xl68pq58g9xlym299bvjdii8cl7ix595ym7jgw22maahx"))))
+ (base32 "0gpav2lcibrpmyslmjkcn3w0w64qif3jjljd2h8lr4p249s7qx23"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-zstd-sys" ,rust-zstd-sys-2))))
+ `(#:cargo-inputs (("rust-zstd-sys" ,rust-zstd-sys-2))))
(home-page "https://github.com/gyscos/zstd-rs")
(synopsis "Safe low-level bindings to the zstd compression library")
(description
@@ -92487,6 +92484,23 @@ implementation that works everywhere, even WASM!")
library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-zstd-safe-5
+ (package
+ (inherit rust-zstd-safe-7)
+ (name "rust-zstd-safe")
+ (version "5.0.2+zstd.1.5.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "zstd-safe" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nzl4q3xl68pq58g9xlym299bvjdii8cl7ix595ym7jgw22maahx"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-zstd-sys" ,rust-zstd-sys-2))))))
+
(define-public rust-zstd-safe-4
(package
(inherit rust-zstd-safe-5)