aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-01-19 13:02:01 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-01-19 14:04:46 +0100
commit93bf3952289dbc9d7ff0f2e47ecf0ee6cc25746a (patch)
tree2f02d9794e4ba3423c8fc7fe8e6764b82dcca292
parent0aaa7f3b2a205aa6be43783787904be15c5905b5 (diff)
downloadguix-93bf3952289dbc9d7ff0f2e47ecf0ee6cc25746a.tar
guix-93bf3952289dbc9d7ff0f2e47ecf0ee6cc25746a.tar.gz
gnu: Add rust-pbkdf2-0.9.
* gnu/packages/crates-io.scm (rust-pbkdf2-0.9): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15a616be3f..a589d996a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37449,6 +37449,30 @@ algorithms, otherwise known as password-based key derivation functions, written
in pure Rust.")
(license (list license:expat license:asl2.0))))
+(define-public rust-pbkdf2-0.9
+ (package
+ (inherit rust-pbkdf2-0.10)
+ (name "rust-pbkdf2")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0fa7j0gdgghk64qlhzdv32yg52p0cfaz5ifhk7i4pfm1wsy98n7h"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-crypto-mac" ,rust-crypto-mac-0.11)
+ ("rust-hmac" ,rust-hmac-0.11)
+ ("rust-password-hash" ,rust-password-hash-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))))
+
(define-public rust-pbkdf2-0.4
(package
(inherit rust-pbkdf2-0.10)