aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-01-07 15:17:36 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-19 14:04:45 +0100
commit60d12ffebd9ab13095b29196507c8bde95b0f3c7 (patch)
treef4be0caa81b9b1894f4c839a4275a1c1c2b8c503 /gnu
parentb58c3e138a792b4887ea5a42b354dd2dab1e0667 (diff)
downloadguix-60d12ffebd9ab13095b29196507c8bde95b0f3c7.tar
guix-60d12ffebd9ab13095b29196507c8bde95b0f3c7.tar.gz
gnu: Add rust-password-hash-0.3.
* gnu/packages/crates-io.scm (rust-password-hash-0.3): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73049a71a5..7750c4ab82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37219,6 +37219,34 @@ and would-block I/O operations.")
("rust-tokio-core" ,rust-tokio-core-0.1))))
(license license:bsd-3)))
+(define-public rust-password-hash-0.3
+ (package
+ (name "rust-password-hash")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "password-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1n7ig9j5x2q0fk12nny40faggrs0ra5bbxp6gz5yghfwlqw1ay8x"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-subtle" ,rust-subtle-2))))
+ (home-page "https://github.com/RustCrypto/traits/tree/master/password-hash")
+ (synopsis
+ "Traits describing the functionality of password hashing algorithms")
+ (description
+ "This package provides traits which describe the functionality of
+password hashing algorithms, as well as a `no_std`-friendly implementation of
+the PHC string format (a well-defined subset of the Modular Crypt
+Format (MCF).")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-paste-1
(package
(name "rust-paste")