me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-ruzstd-0.5.

* gnu/packages/crates-io.scm (rust-ruzstd-0.5): New variable.
(rust-ruzstd-0.4): Inherit from rust-ruzstd-0.5.

Change-Id: Ice0387edc375ad9938291624a3bd7f8411df6454
master
Efraim Flashner 2024-03-14 10:59:45 +02:00
parent 5bf2d84974
commit 8b1a801803
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 38 additions and 7 deletions

View File

@ -58920,8 +58920,45 @@ sub-processes using a fork-like interface.")
(("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-ruzstd-0.5
(package
(name "rust-ruzstd")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ruzstd" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ga8jciw7ka3mxrzl39skmsbdslajghzglcil10g0z4rh65fpi2q"))))
(build-system cargo-build-system)
(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.3)
("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/KillingSpark/zstd-rs")
(synopsis "Decoder for the zstd compression format")
(description
"This package provides a decoder for the zstd compression format.")
(license license:expat)))
(define-public rust-ruzstd-0.4
(package
(inherit rust-ruzstd-0.5)
(name "rust-ruzstd")
(version "0.4.0")
(source
@ -58931,7 +58968,6 @@ sub-processes using a fork-like interface.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1p4ghqzkq36dy1x1ijnk7jmml4wi3v9bkfzlbm2hsnkiz6wglgxc"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@ -58949,12 +58985,7 @@ sub-processes using a fork-like interface.")
("rust-thiserror-core" ,rust-thiserror-core-1)
("rust-twox-hash" ,rust-twox-hash-1))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/KillingSpark/zstd-rs")
(synopsis "Decoder for the zstd compression format")
(description
"This package provides a decoder for the zstd compression format.")
(license license:expat)))
("rust-rand" ,rust-rand-0.8))))))
(define-public rust-rkyv-0.7
(package