gnu: Add rust-zstd-safe-4.

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

View file

@ -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)