[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53401] [PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0.
From: |
Attila Lendvai |
Subject: |
[bug#53401] [PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0. |
Date: |
Thu, 20 Jan 2022 22:50:06 +0100 |
* gnu/packages/crates-io.scm (rust-pbkdf2-0.7)
(rust-pbkdf2-0.6): New variable.
---
gnu/packages/crates-io.scm | 74 +++++++++++++++++++++++++++++++++-----
1 file changed, 66 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c70556e73e..e9c791106b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37306,8 +37306,72 @@ (define-public rust-pathdiff-0.1
(base32
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
+(define-public rust-pbkdf2-0.7
+ (package
+ (name "rust-pbkdf2")
+ (version "0.7.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "022m5yb6fagzrks5m5kkj2yzccqffk19vnchg289fqnj5p9nv4dz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64ct" ,rust-base64ct-1)
+ ("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-password-hash" ,rust-password-hash-0.1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))
+ #:cargo-development-inputs
+ (("rust-hex-literal" ,rust-hex-literal-0.3)
+ ("rust-hmac" ,rust-hmac-0.8)
+ ("rust-rand-core" ,rust-rand-core-0.6)
+ ("rust-sha-1" ,rust-sha-1-0.9)
+ ("rust-sha2" ,rust-sha2-0.9))))
+ (home-page "https://github.com/RustCrypto/password-hashing")
+ (synopsis "Generic implementation of PBKDF2")
+ (description "This package contains a collection of password hashing
+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.6
+ (package
+ (inherit rust-pbkdf2-0.7)
+ (name "rust-pbkdf2")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jjaapyawm5iqn97mmfj40dvipsy78cm80qcva28009l2zbw1f5k"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.13)
+ ("rust-crypto-mac" ,rust-crypto-mac-0.10)
+ ("rust-hmac" ,rust-hmac-0.10)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rand-core" ,rust-rand-core-0.5)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha2" ,rust-sha2-0.9)
+ ("rust-subtle" ,rust-subtle-2))
+ #:cargo-development-inputs
+ (("rust-hmac" ,rust-hmac-0.10)
+ ("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.6)
(name "rust-pbkdf2")
(version "0.4.0")
(source
@@ -37319,10 +37383,10 @@ (define-public rust-pbkdf2-0.4
(sha256
(base32
"1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
+ ("rust-byteorder" ,rust-byteorder-1)
("rust-crypto-mac" ,rust-crypto-mac-0.8)
("rust-hmac" ,rust-hmac-0.8)
("rust-rand" ,rust-rand-0.7)
@@ -37333,13 +37397,7 @@ (define-public rust-pbkdf2-0.4
#:cargo-development-inputs
(("rust-hmac" ,rust-hmac-0.8)
("rust-sha-1" ,rust-sha-1-0.9)
- ("rust-sha2" ,rust-sha2-0.9))))
- (home-page "https://github.com/RustCrypto/password-hashing")
- (synopsis "Generic implementation of PBKDF2")
- (description "This package contains a collection of password hashing
-algorithms, otherwise known as password-based key derivation functions, written
-in pure Rust.")
- (license (list license:expat license:asl2.0))))
+ ("rust-sha2" ,rust-sha2-0.9))))))
(define-public rust-pbkdf2-0.3
(package
--
2.34.0
- [bug#53401] [PATCH 30/49] gnu: Add rust-bitvec 0.20.4., (continued)
- [bug#53401] [PATCH 30/49] gnu: Add rust-bitvec 0.20.4., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 07/49] gnu: Add rust-digest-0.10 0.10.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 21/49] gnu: Add rust-ripemd 0.1.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 37/49] gnu: Add rust-tiny-keccak 1.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 12/49] gnu: Add rust-scrypt 0.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 36/49] gnu: Add rust-ethereum-types-serialize 0.2.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 04/49] gnu: Add rust-block-buffer-0.10., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 35/49] gnu: Add rust-uint 0.4.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 20/49] gnu: Add rust-bitcoin-hashes 0.9.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 10/49] gnu: Add rust-pbkdf2 0.7.5 and 0.6.0.,
Attila Lendvai <=
- [bug#53401] [PATCH 05/49] gnu: Add rust-crypto-common-0.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 22/49] gnu: rust-zeroize: Update to 1.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 26/49] gnu: Add rust-fixed-hash 0.7.0 and 0.2.5., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 38/49] gnu: Add rust-ethereum-types 0.4.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 33/49] gnu: Add rust-impl-codec 0.5.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 41/49] gnu: Add rust-gmp-mpfr-sys 1.4.7., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 25/49] gnu: Add rust-radium 0.6.2., Attila Lendvai, 2022/01/20