diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 20:52:56 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:14:03 +0200 |
commit | e029ba158fa05becc1aed3d145fa82a98e527fe3 (patch) | |
tree | 9288518619779cd56dd6d8c9bac91140be248072 | |
parent | 5e549fb8eded94ba04b958f5b8616e01a13091fe (diff) | |
download | guix-e029ba158fa05becc1aed3d145fa82a98e527fe3.tar.gz guix-e029ba158fa05becc1aed3d145fa82a98e527fe3.zip |
gnu: Add rust-snap-1.
* gnu/packages/crates-io.scm (rust-snap-1): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1d9a8852e9..c240927110 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41284,6 +41284,32 @@ More importantly, this library also provides the ability to un-escape a given escaped text to recover the original string.") (license license:gpl3))) +(define-public rust-snap-1 + (package + (name "rust-snap") + (version "1.0.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "snap" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0l8llidvm7dlwfw2ql6hk4b4byl9677fppwgl7i2wglqs6a60ia5")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3)))) + (home-page + "https://github.com/BurntSushi/rust-snappy") + (synopsis + "Pure Rust implementation of the Snappy compression algorithm") + (description + "This package provides a pure Rust implementation of the Snappy compression +algorithm. Includes streaming compression and decompression.") + (license license:bsd-3))) + (define-public rust-socket2-0.3 (package (name "rust-socket2") |