diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 765e95dc53..e332c10f4e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43010,8 +43010,43 @@ relative path from a provided base directory path to the provided path.") (license (list license:asl2.0 license:expat)))) +(define-public rust-pbkdf2-0.12 + (package + (name "rust-pbkdf2") + (version "0.12.1") + (source (origin + (method url-fetch) + (uri (crate-uri "pbkdf2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cbcfkb9qh5czbm88gw3aii4y5m84wig6s5d7fzrhxb0d1d0pjph")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-digest" ,rust-digest-0.10) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-password-hash" ,rust-password-hash-0.5) + ("rust-rayon" ,rust-rayon-1) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-hmac" ,rust-hmac-0.12) + ("rust-sha1" ,rust-sha1-0.10) + ("rust-sha2" ,rust-sha2-0.10) + ("rust-streebog" ,rust-streebog-0.10)))) + (home-page + "https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2") + (synopsis "Generic implementation of PBKDF2") + (description "This package contains a collection of password hashing +algorithms, otherwise known as password-based key derivation functions, written +in pure Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pbkdf2-0.11 (package + (inherit rust-pbkdf2-0.12) (name "rust-pbkdf2") (version "0.11.0") (source @@ -43021,7 +43056,6 @@ path.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-digest" ,rust-digest-0.10) @@ -43036,12 +43070,7 @@ path.") ("rust-sha-1" ,rust-sha-1-0.10) ("rust-sha2" ,rust-sha2-0.10) ("rust-streebog" ,rust-streebog-0.10)))) - (home-page "https://github.com/RustCrypto/password-hashing") - (synopsis "Generic implementation of PBKDF2") - (description "This package contains a collection of password hashing -algorithms, otherwise known as password-based key derivation functions, written -in pure Rust.") - (license (list license:expat license:asl2.0)))) + (home-page "https://github.com/RustCrypto/password-hashing"))) (define-public rust-pbkdf2-0.10 (package