aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-15 10:14:43 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:54 +0200
commit77a164a7236ec99f8827e1190f4f6af3fa448d1c (patch)
tree74149a89c5f97e63c2e488ea8a986636c85e4206
parent7a7ff5d36ca523b3b3f69cbd95a72e84d92733d5 (diff)
downloadguix-77a164a7236ec99f8827e1190f4f6af3fa448d1c.tar.gz
guix-77a164a7236ec99f8827e1190f4f6af3fa448d1c.zip
gnu: Add rust-argon2rs-0.2.
* gnu/packages/crates-io.scm (rust-argon2rs-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 823b54f879..4492f96c55 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -254,6 +254,33 @@ text or blue underlined text, on ANSI terminals.")
(description "This package provides an atomically swappable Arc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-argon2rs-0.2
+ (package
+ (name "rust-argon2rs")
+ (version "0.2.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "argon2rs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "14mkgkrjd4b4zy92pflz6yb4j1wn2chbd8jczxknxbkdm2vb0rrz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-blake2-rfc" ,rust-blake2-rfc-0.2)
+ ("rust-scoped-threadpool" ,rust-scoped-threadpool-0.1))
+ #:cargo-development-inputs
+ (("rust-cargon" ,rust-cargon-0.0))))
+ (home-page "https://github.com/bryant/argon2rs")
+ (synopsis "Rust password hashing library that runs on Argon2")
+ (description "This package provides a pure Rust password hashing library
+that runs on Argon2.")
+ (license license:expat)))
+
(define-public rust-arrayvec-0.4
(package
(name "rust-arrayvec")