diff options
author | John Soo <jsoo1@asu.edu> | 2019-12-14 17:13:52 -0800 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-01-02 20:16:25 +0200 |
commit | 1f635121a2d04b3bbe33224951f85e83c8320a74 (patch) | |
tree | 274af177cb545c278f41988a227c079735da33be | |
parent | d6dd7e28b261eedf2e65f6a06db900e5ad521486 (diff) |
gnu: Add rust-sha1-0.6.
* gnu/packages/crates-io.scm (rust-sha1-0.6): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 46aafd15ee..289adcc187 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5257,6 +5257,34 @@ with one of the implemented strategies.") "Token De/Serializer for testing De/Serialize implementations.") (license (list license:expat license:asl2.0)))) +(define-public rust-sha1-0.6 + (package + (name "rust-sha1") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "sha1" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "03gs2q4m67rn2p8xcdfxhip6mpgahdwm12bnb3vh90ahv9grhy95")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-serde" ,rust-serde-1.0)) + #:cargo-development-inputs + (("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.4) + ("rust-serde-json" ,rust-serde-json-1.0)))) + (home-page "https://github.com/mitsuhiko/rust-sha1") + (synopsis "Minimal implementation of SHA1 for Rust") + (description + "Minimal implementation of SHA1 for Rust.") + (license license:bsd-3))) + (define-public rust-shlex-0.1 (package (name "rust-shlex") |