summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorAttila Lendvai <attila@lendvai.name>2022-01-19 11:09:29 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-28 01:10:49 +0100
commit09279ad1f38f6ad47aca3ccfb81d88a04b9cf63f (patch)
tree2b23b15f4a6b465ac2ba48000e59c7906cf15a6c /gnu
parent932aa1b3458c431755b4ea6f8c04bd9d6a1add67 (diff)
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
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")