From 85a7fde793e2343115eb1828cc8ea6510c9310b1 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 15 Jun 2021 12:58:00 +0200 Subject: [PATCH] gnu: Add rust-zstd-safe-4. * gnu/packages/crates-io.scm (rust-zstd-safe-4): New variable. (rust-zstd-safe-3): Inherit from above. --- gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6249b3bbea..5b4c2272c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -53966,17 +53966,18 @@ (define-public rust-zstd-0.5 ("rust-quickcheck" ,rust-quickcheck-0.6) ("rust-walkdir" ,rust-walkdir-2)))))) -(define-public rust-zstd-safe-3 +(define-public rust-zstd-safe-4 (package (name "rust-zstd-safe") - (version "3.0.1+zstd.1.4.9") + (version "4.1.0+zstd.1.5.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 "133gassn5zy4vf0hhgsff3gxv1q3nc0bzi3qrqq7n4iqv6ycm1qk")))) + (base32 "1rssk1njcy9vz40ja0rpjyi9lbqnq2i2xx1h374s8p0qivvpa0yk")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -53990,6 +53991,24 @@ (define-public rust-zstd-safe-3 library.") (license (list license:expat license:asl2.0)))) +(define-public rust-zstd-safe-3 + (package + (inherit rust-zstd-safe-4) + (name "rust-zstd-safe") + (version "3.0.1+zstd.1.4.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "zstd-safe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "133gassn5zy4vf0hhgsff3gxv1q3nc0bzi3qrqq7n4iqv6ycm1qk")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-zstd-sys" ,rust-zstd-sys-1)))))) + (define-public rust-zstd-safe-2 (package (inherit rust-zstd-safe-3)