guix-commits
[Top][All Lists]
Advanced

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

06/46: gnu: Add rust-password-hash-0.1.


From: guix-commits
Subject: 06/46: gnu: Add rust-password-hash-0.1.
Date: Thu, 27 Jan 2022 19:12:43 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 09279ad1f38f6ad47aca3ccfb81d88a04b9cf63f
Author: Attila Lendvai <attila@lendvai.name>
AuthorDate: Wed Jan 19 11:09:29 2022 +0100

    gnu: Add rust-password-hash-0.1.
    
    * gnu/packages/crates-io.scm (rust-password-hash-0.1): New variable. Inherit
    from rust-password-hash-0.3.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c9c994a980..48848a1b59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39783,6 +39783,24 @@ the PHC string format (a well-defined subset of the 
Modular Crypt
 Format (MCF).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-password-hash-0.1
+  (package
+    (inherit rust-password-hash-0.3)
+    (name "rust-password-hash")
+    (version "0.1.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "password-hash" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32 "1ymh3np2bamjy8rszimksxcp264dclil4620bxm8rff9pyj6m62l"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+        (("rust-base64ct" ,rust-base64ct-1)
+         ("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]