efraim pushed a commit to branch rust-team
in repository guix.
commit 56583654ab1c656a9b74fbcc57ca9aff1c4f5b32
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Dec 3 20:26:31 2024 +0200
gnu: Add rust-bcrypt-pbkdf-0.10.
* gnu/packages/crates-crypto.scm (rust-bcrypt-pbkdf-0.10): New variable.
Change-Id: I8581e3c0436f206e8a88b6c6a2d4fbb07c5d64c2
---
gnu/packages/crates-crypto.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index c0217d52c0..3c42e2e98f 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -661,6 +661,31 @@ portable \"best effort\" constant-time operation and
embedded-friendly
(base32 "0p4was874qc90q2chm2i14m9mn8zmxjis8vaxihd6a2x4aqxkd76"))))
(arguments '())))
+(define-public rust-bcrypt-pbkdf-0.10
+ (package
+ (name "rust-bcrypt-pbkdf")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bcrypt-pbkdf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18pjhsy3m2v0silsp4mjzz8i92zrpqxk9b059zrnk1w8zvhw5ska"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-blowfish" ,rust-blowfish-0.9)
+ ("rust-pbkdf2" ,rust-pbkdf2-0.12)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs (("rust-hex-literal"
,rust-hex-literal-0.3))))
+ (home-page
+ "https://github.com/RustCrypto/password-hashes/tree/master/bcrypt-pbkdf")
+ (synopsis "Bcrypt-pbkdf password-based key derivation function")
+ (description
+ "This package provides bcrypt-pbkdf password-based key derivation
function.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-blake2-0.10
(package
(name "rust-blake2")