guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#70461] [PATCH 02/10] gnu: Add rust-bcrypt-pbkdf-0.10.0.


From: VÖRÖSKŐI András
Subject: [bug#70461] [PATCH 02/10] gnu: Add rust-bcrypt-pbkdf-0.10.0.
Date: Thu, 18 Apr 2024 22:28:27 +0200

* gnu/packages/crates-crypto.scm (rust-bcrypt-pbkdf): New variable.

Change-Id: I4956528cd0538c7f68b50f58859eddf233742052
---
 gnu/packages/crates-crypto.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 2073f8fb9d..ed7344931b 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -647,6 +647,30 @@ (define-public rust-base64ct-1
 @code{no_std} support.")
     (license (list license:asl2.0 license:expat))))
 
+(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 "bcrypt-pbkdf password-based key derivation function")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-blake2-0.10
   (package
     (name "rust-blake2")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]