diff options
author | Attila Lendvai <attila@lendvai.name> | 2022-01-19 11:53:52 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 01:10:50 +0100 |
commit | 318928f7485cebaeddd4be20db4bb3012ff6389a (patch) | |
tree | 2b7ed9dfd8c8c95b83b018695d5ad668bb0cfece | |
parent | 79b30bc66c83e8f932e1528bf200cd4bbb4c8a2c (diff) |
gnu: Add rust-scrypt-0.5.
* gnu/packages/crates-io.scm (rust-scrypt-0.5): New variable.
(rust-scrypt-0.3): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7386cae4b6..83204bf311 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51245,10 +51245,34 @@ clean}.") function.") (license (list license:expat license:asl2.0)))) -(define-public rust-scrypt-0.3 +(define-public rust-scrypt-0.5 (package (inherit rust-scrypt-0.8) (name "rust-scrypt") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "scrypt" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1fgdmjdjx3lj92nswkxrq9nlv4vv7livg83nfybmv4izn3d9594d")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-pbkdf2" ,rust-pbkdf2-0.6) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-salsa20" ,rust-salsa20-0.7) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-subtle" ,rust-subtle-2)))))) + +(define-public rust-scrypt-0.3 + (package + (inherit rust-scrypt-0.5) + (name "rust-scrypt") (version "0.3.0") (source (origin |