gnu: Add rust-ruzstd-0.6.

* gnu/packages/crates-compression.scm (rust-ruzstd-0.6): New variable.

Change-Id: I18414a040c94572043bc40a893fdb531e19d8837
Signed-off-by: Steve George <steve@futurile.net>
This commit is contained in:
Steve George 2025-03-24 10:23:09 +00:00 committed by Hilton Chain
parent 65f9437021
commit 8d05e340f4
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -1346,6 +1346,39 @@ streaming API for miniz_oxide.")
"This package provides a decoder for the zstd compression format.") "This package provides a decoder for the zstd compression format.")
(license license:expat))) (license license:expat)))
(define-public rust-ruzstd-0.6
(package
(inherit rust-ruzstd-0.7)
(name "rust-ruzstd")
(version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ruzstd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0yygqpar2x910lnii4k5p43aj4943hlnxpczmqhsfddmxrqa8x2i"))))
(arguments
`(#:cargo-test-flags
'("--release" "--"
;; not all files included
"--skip=tests::decode_corpus::test_decode_corpus_files"
"--skip=tests::dict_test::test_dict_decoding"
"--skip=tests::fuzz_regressions::test_all_artifacts"
"--skip=tests::test_block_header_reading"
"--skip=tests::test_decode_from_to"
"--skip=tests::test_frame_decoder"
"--skip=tests::test_frame_header_reading"
"--skip=tests::test_specific_file"
"--skip=tests::test_streaming")
#:cargo-inputs
(("rust-byteorder" ,rust-byteorder-1)
("rust-derive-more" ,rust-derive-more-0.99)
("rust-twox-hash" ,rust-twox-hash-1))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.5)
("rust-rand" ,rust-rand-0.8))))))
(define-public rust-ruzstd-0.5 (define-public rust-ruzstd-0.5
(package (package
(inherit rust-ruzstd-0.7) (inherit rust-ruzstd-0.7)