From: Attila Lendvai <attila@lendvai.name>
To: 53401@debbugs.gnu.org
Cc: Attila Lendvai <attila@lendvai.name>
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 [thread overview]
Message-ID: <20220120215045.24768-10-attila@lendvai.name> (raw)
In-Reply-To: <20220120215045.24768-2-attila@lendvai.name>
* 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
next prev parent reply other threads:[~2022-01-20 23:44 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 21:41 [bug#53401] [PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0 Attila Lendvai
2022-01-20 21:49 ` [bug#53401] [PATCH 02/49] gnu: Add rust-parity-bytes 0.1.2 Attila Lendvai
2022-01-20 21:49 ` [bug#53401] [PATCH 03/49] gnu: Add rust-ethereum-types 0.9.2 and 0.12.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 04/49] gnu: Add rust-block-buffer-0.10 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 05/49] gnu: Add rust-crypto-common-0.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 06/49] gnu: rust-subtle: Update to 2.4.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 07/49] gnu: Add rust-digest-0.10 0.10.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 08/49] gnu: Add rust-base64ct-1 1.3.3 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 09/49] gnu: Add rust-password-hash 0.3 and 0.1.4 Attila Lendvai
2022-01-20 21:50 ` Attila Lendvai [this message]
2022-01-20 21:50 ` [bug#53401] [PATCH 11/49] gnu: Add rust-salsa20 0.7.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 12/49] gnu: Add rust-scrypt 0.5.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 13/49] gnu: rust-fnv: Update to 1.0.7 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 14/49] gnu: Add rust-serde-derive-internals 0.25.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 16/49] gnu: Add rust-darling 0.13.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 17/49] gnu: Add rust-enumset 1.0.8 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 18/49] gnu: Add rust-schemars[-derive] 0.8.8 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 19/49] gnu: Add rust-bitcoin-hashes 0.10.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 20/49] gnu: Add rust-bitcoin-hashes 0.9.7 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 21/49] gnu: Add rust-ripemd 0.1.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 22/49] gnu: rust-zeroize: Update to 1.5.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 23/49] gnu: Add rust-secp256k1 0.21.2 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 24/49] gnu: Add rust-secp256k1 0.20.3 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 25/49] gnu: Add rust-radium 0.6.2 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 26/49] gnu: Add rust-fixed-hash 0.7.0 and 0.2.5 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 27/49] gnu: Add rust-byte-slice-cast 1.2.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 28/49] gnu: Add rust-impl-trait-for-tuples 0.2.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 29/49] gnu: rust-trybuild: Update to 1.0.54 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 30/49] gnu: Add rust-bitvec 0.20.4 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 31/49] gnu: Add rust-parity-crypto 0.9.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 32/49] gnu: Add rust-parity-scale-codec 2.3.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 33/49] gnu: Add rust-impl-codec 0.5.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 34/49] gnu: Add rust-crunchy 0.1.6 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 35/49] gnu: Add rust-uint 0.4.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 36/49] gnu: Add rust-ethereum-types-serialize 0.2.2 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 37/49] gnu: Add rust-tiny-keccak 1.5.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 38/49] gnu: Add rust-ethereum-types 0.4.2 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 39/49] gnu: Add rust-rlp 0.3.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 40/49] gnu: Add rust-integer-sqrt 0.1.5 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 41/49] gnu: Add rust-gmp-mpfr-sys 1.4.7 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 42/49] gnu: rust-az: Update to 1.2.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 43/49] gnu: Add rust-rug 1.14.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 44/49] gnu: Add rust-uint 0.9.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 45/49] gnu: Add rust-impl-serde 0.3.2 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 46/49] gnu: Add rust-scale-info 1.0.0 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 47/49] gnu: Add rust-impl-num-traits 0.1.1 Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 48/49] gnu: rust-rlp, rust-impl-rlp, rust-primitive-types Attila Lendvai
2022-01-20 21:50 ` [bug#53401] [PATCH 49/49] gnu: Add rust-ethbloom 0.5.3 and 0.11.1 Attila Lendvai
2022-01-20 22:37 ` [bug#53401] [PATCH 42/49] gnu: rust-az: Update to 1.2.0 Attila Lendvai
2022-01-24 11:43 ` bug#53401: (No Subject) Attila Lendvai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220120215045.24768-10-attila@lendvai.name \
--to=attila@lendvai.name \
--cc=53401@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.