diff options
author | Valentin Ignatev <valentignatev@gmail.com> | 2020-01-26 16:27:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-02-26 14:00:55 +0200 |
commit | f4b8c2729793d61dfcd7b5533e55461598d035cd (patch) | |
tree | f68c2f57d2de30890068a8a78641e1000e648777 /gnu/packages | |
parent | 66d27f5d779507ac56e7f4df36b4d2e04bee41f6 (diff) | |
download | patches-f4b8c2729793d61dfcd7b5533e55461598d035cd.tar patches-f4b8c2729793d61dfcd7b5533e55461598d035cd.tar.gz |
gnu: Add rust-bzip2-0.3.
* gnu/packages/crates-io.scm (rust-bzip2-0.3): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 18b502b751..b9ec9fcc29 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1570,6 +1570,39 @@ little-endian.") #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)))))) +(define-public rust-bzip2-0.3 + (package + (name "rust-bzip2") + (version "0.3.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "bzip2" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bzip2-sys" ,rust-bzip2-sys-0.1) + ("rust-futures" ,rust-futures-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-partial-io" ,rust-partial-io-0.2) + ("rust-quickcheck" ,rust-quickcheck-0.4) + ("rust-rand" ,rust-rand-0.3) + ("rust-tokio-core" ,rust-tokio-core-0.1)))) + (home-page "https://github.com/alexcrichton/bzip2-rs") + (synopsis + "Rust bindings to libbzip2 for bzip2 compression and decompression") + (description + "Bindings to @code{libbzip2} for @code{bzip2} compression and decompression +exposed as Reader/Writer streams.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bzip2-sys-0.1 (package (name "rust-bzip2-sys") |