diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-26 19:29:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-28 08:51:07 +0300 |
commit | 1ab5e5b9a1aa4a8d11abe73b2480d9a854b7ba8d (patch) | |
tree | 0095fbec08303d12b342394616131d8357616a62 /gnu | |
parent | add00a76863cbef1c42b688f2332488a0b3fef12 (diff) | |
download | guix-patches-1ab5e5b9a1aa4a8d11abe73b2480d9a854b7ba8d.tar guix-patches-1ab5e5b9a1aa4a8d11abe73b2480d9a854b7ba8d.tar.gz |
gnu: Add rust-scrypt-0.2.
* gnu/packages/crates-io.scm (rust-scrypt-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aacbacc38a..ad50f42bce 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20227,6 +20227,36 @@ with one of the implemented strategies.") (base32 "09sy9wbqp409pkwmqni40qmwa99ldqpl48pp95m1xw8sc19qy9cl")))))) +(define-public rust-scrypt-0.2 + (package + (name "rust-scrypt") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "scrypt" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1pfgqgzdjxjf7c8r1wfka0ackfpv1g8w7wvbr25b42hdx787jv35")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.9) + ("rust-byte-tools" ,rust-byte-tools-0.3) + ("rust-byteorder" ,rust-byteorder-1.3) + ("rust-hmac" ,rust-hmac-0.7) + ("rust-pbkdf2" ,rust-pbkdf2-0.3) + ("rust-rand" ,rust-rand-0.5) + ("rust-sha2" ,rust-sha2-0.8) + ("rust-subtle" ,rust-subtle-1.0)))) + (home-page "https://github.com/RustCrypto/password-hashes") + (synopsis "Scrypt password-based key derivation function") + (description + "Scrypt password-based key derivation function.") + (license (list license:expat license:asl2.0)))) + (define-public rust-scroll-0.10 (package (name "rust-scroll") |