guix-commits
[Top][All Lists]
Advanced

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

136/308: gnu: Add rust-bcrypt-pbkdf-0.10.


From: guix-commits
Subject: 136/308: gnu: Add rust-bcrypt-pbkdf-0.10.
Date: Wed, 4 Dec 2024 16:20:58 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit e4879ea24c09a437590793b69014080dab488b7c
Author: Efraim Flashner <efraim@flashner.co.il>
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 2b0aa61bd8..c22a70e88e 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")



reply via email to

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