diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-23 13:07:23 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:54 +0200 |
commit | 699f8275b90eba5156f4682158f96d1d15659718 (patch) | |
tree | 000b0c9d6b07ab397a6a88df089d00f4226a3b70 /gnu | |
parent | 2b9af04d9ba12e19c0773897971a4d598fb0276d (diff) | |
download | guix-699f8275b90eba5156f4682158f96d1d15659718.tar.gz guix-699f8275b90eba5156f4682158f96d1d15659718.zip |
gnu: Add rust-bzip2-rs-0.1.
* gnu/packages/crates-io.scm (rust-bzip2-rs-0.1): New variable.
Change-Id: Ib4f3529bc80c3aab2299d3007118f62429dce26e
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4b9a9f3fa0..962504164e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -10874,6 +10874,35 @@ representation, with support for both SI and binary units.") ("rust-rand" ,rust-rand-0.3) ("rust-tokio-core" ,rust-tokio-core-0.1)))))) +(define-public rust-bzip2-rs-0.1 + (package + (name "rust-bzip2-rs") + (version "0.1.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2-rs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0dgp83kixqrqj6q6574qr5zsfpbsiiwhqs3krhvsn4f8wkkmksxy")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't suggest nightly features of tinyvec. + (substitute* "Cargo.toml" + (("\"tinyvec/nightly_const_generics\", ") "")))))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-crc32fast" ,rust-crc32fast-1) + ("rust-tinyvec" ,rust-tinyvec-1)) + #:cargo-development-inputs + (("rust-bzip2" ,rust-bzip2-0.4) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))) + (home-page "https://github.com/paolobarbolini/bzip2-rs") + (synopsis "Pure Rust bzip2 decompressor") + (description "Pure Rust bzip2 decompressor.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bzip2-sys-0.1 (package (name "rust-bzip2-sys") |