diff options
author | Attila Lendvai <attila@lendvai.name> | 2022-01-19 11:29:10 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-28 01:10:49 +0100 |
commit | bd1aecf5fb0a07fb17b0ac63bd61cdf0dda20b03 (patch) | |
tree | acc39458a91906e3de07db644eab0752ea81af47 /gnu | |
parent | 09279ad1f38f6ad47aca3ccfb81d88a04b9cf63f (diff) |
gnu: Add rust-pbkdf2-0.7, rust-pbkdf2-0.6.
* gnu/packages/crates-io.scm (rust-pbkdf2-0.7): New variable.
(rust-pbkdf2-0.6): New variable.
(rust-pbkdf2-0.9): Re-enable building it and fix dependencies.
(rust-pbkdf2-0.10): Fix build.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 67 |
1 files changed, 64 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 48848a1b59..c291bf9879 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39966,7 +39966,8 @@ directory path to the provided path.") (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-digest" ,rust-digest-0.10) + (("rust-base64ct" ,rust-base64ct-1.0.1) + ("rust-digest" ,rust-digest-0.10) ("rust-hmac" ,rust-hmac-0.12) ("rust-password-hash" ,rust-password-hash-0.3) ("rust-rayon" ,rust-rayon-1) @@ -40000,13 +40001,73 @@ in pure Rust.") (base32 "0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h")))) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-crypto-mac" ,rust-crypto-mac-0.11) ("rust-hmac" ,rust-hmac-0.11) ("rust-password-hash" ,rust-password-hash-0.3) ("rust-rayon" ,rust-rayon-1) ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.11) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-streebog" ,rust-streebog-0.9)))))) + +(define-public rust-pbkdf2-0.7 + (package + (inherit rust-pbkdf2-0.9) + (name "rust-pbkdf2") + (version "0.7.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "022m5yb6fagzrks5m5kkj2yzccqffk19vnchg289fqnj5p9nv4dz")))) + (arguments + `(#:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-password-hash" ,rust-password-hash-0.1) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.8) + ("rust-rand-core" ,rust-rand-core-0.6) + ("rust-sha-1" ,rust-sha-1-0.9) + ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-pbkdf2-0.6 + (package + (inherit rust-pbkdf2-0.10) + (name "rust-pbkdf2") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-crypto-mac" ,rust-crypto-mac-0.10) + ("rust-hmac" ,rust-hmac-0.10) + ("rust-rand" ,rust-rand-0.7) + ("rust-rand-core" ,rust-rand-core-0.5) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha2" ,rust-sha2-0.9) + ("rust-subtle" ,rust-subtle-2)) + #:cargo-development-inputs + (("rust-hmac" ,rust-hmac-0.10) + ("rust-sha-1" ,rust-sha-1-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) (define-public rust-pbkdf2-0.4 |