guix-commits
[Top][All Lists]
Advanced

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

04/14: gnu: Add rust-password-hash-0.2.


From: guix-commits
Subject: 04/14: gnu: Add rust-password-hash-0.2.
Date: Sun, 22 Oct 2023 04:37:44 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit e75fe100ece119ec0e53f43c8fae40d9d9783720
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Oct 20 21:27:51 2023 +0100

    gnu: Add rust-password-hash-0.2.
    
    * gnu/packages/crates-io.scm (rust-password-hash-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0752f20d39..be127e83ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47842,6 +47842,23 @@ Format (MCF).")
         ("rust-rand-core" ,rust-rand-core-0.6)
         ("rust-subtle" ,rust-subtle-2))))))
 
+(define-public rust-password-hash-0.2
+  (package
+    (inherit rust-password-hash-0.5)
+    (name "rust-password-hash")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "password-hash" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1rr4kd52ld978a2xhcvlc54p1d92yhxl9kvbajba7ia6rs5b5q3p"))))
+    (arguments
+     (list #:cargo-inputs `(("rust-base64ct" ,rust-base64ct-1)
+                            ("rust-subtle" ,rust-subtle-2)
+                            ("rust-rand-core" ,rust-rand-core-0.6))))))
+
 (define-public rust-paste-1
   (package
     (name "rust-paste")



reply via email to

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