summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-20 21:27:51 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-22 11:20:55 +0300
commite75fe100ece119ec0e53f43c8fae40d9d9783720 (patch)
tree09f87022a835a6485d7eb29872a7a73a168e9dac /gnu/packages
parent63ea1bcecd97e8e6e70528e88419713bc7022907 (diff)
downloadguix-e75fe100ece119ec0e53f43c8fae40d9d9783720.tar.gz
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 17 insertions, 0 deletions
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")