diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-09 11:35:25 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-13 11:49:38 +0100 |
commit | 630c8a8d6534b678bdee459a671a840725810b17 (patch) | |
tree | 216d696be6467d174fc3f77daaf6d8673fbc845d | |
parent | 35341877dc6397b4bca8c54be62e344d9a3fa3e2 (diff) | |
download | guix-630c8a8d6534b678bdee459a671a840725810b17.tar.gz guix-630c8a8d6534b678bdee459a671a840725810b17.zip |
gnu: Add rust-rust-crypto-0.2.
* gnu/packages/crates-io.scm (rust-rust-crypto-0.2): New variable.
-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 5a355c8777..e6d7db0d94 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8196,6 +8196,34 @@ manipulating terminals.") around common WinAPI calls.") (license license:expat))) +(define-public rust-rust-crypto-0.2 + (package + (name "rust-rust-crypto") + (version "0.2.36") + (source + (origin + (method url-fetch) + (uri (crate-uri "rust-crypto" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0aias7gh2ypj4skmh6hfsjli4fhnvcvf9s1ljjpz9m9zk79havgp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-gcc" ,rust-gcc-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-rand" ,rust-rand-0.3) + ("rust-rustc-serialize" ,rust-rustc-serialize-0.3) + ("rust-time" ,rust-time-0.1)))) + (home-page "https://github.com/DaGenix/rust-crypto/") + (synopsis "Mostly pure-Rust implementation of various cryptographic algorithms") + (description + "This package provides a (mostly) pure-Rust implementation of various +common cryptographic algorithms.") + (license (list license:expat license:asl2.0)))) + (define-public rust-crypto-mac-0.10 (package (name "rust-crypto-mac") |