GNU bug report logs -
#53101
[PATCH 26/41] gnu: rust-rbw: adding rust-pbkdf2
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 7 Jan 2022 14:20:02 UTC
Severity: normal
Tags: patch
Merged with 53075,
53076,
53077,
53078,
53079,
53080,
53081,
53082,
53083,
53084,
53085,
53086,
53087,
53088,
53089,
53090,
53091,
53092,
53093,
53094,
53095,
53096,
53097,
53098,
53099,
53100,
53102,
53103,
53104,
53105,
53106,
53107,
53108,
53109,
53110,
53111,
53112,
53113,
53114,
53115,
53116,
53117
Fixed in versions 53101, 53102, 53103, 53104, 53105, 53106, 53107, 53108, 53109, 53110, 53111, 53112, 53113, 53114, 53115, 53116, 53123
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[0027-rust-rbw-dependencies-adding-rust-pbkdf2.patch (text/x-patch, inline)]
From 43dc07b34561235468c7f7e14108edb8a4004196 Mon Sep 17 00:00:00 2001
From: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 7 Jan 2022 12:57:05 +0100
Subject: [PATCH 27/42] rust-rbw dependencies : adding rust-pbkdf2
---
gnu/packages/crates-io.scm | 72 ++++++++++++++++++++++++++++++++------
1 file changed, 61 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6f81e25627..96d02e1132 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37138,10 +37138,10 @@ (define-public rust-pathdiff-0.1
(base32
"0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
-(define-public rust-pbkdf2-0.4
+(define-public rust-pbkdf2-0.10
(package
(name "rust-pbkdf2")
- (version "0.4.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
@@ -37150,8 +37150,64 @@ (define-public rust-pbkdf2-0.4
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1"))))
+ "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4"))))
(build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-digest" ,rust-digest-0.10)
+ ("rust-hmac" ,rust-hmac-0.12)
+ ("rust-password-hash" ,rust-password-hash-0.3)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-sha-1" ,rust-sha-1-0.10)
+ ("rust-sha2" ,rust-sha2-0.10))))
+ (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.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)
+ (name "rust-pbkdf2")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pbkdf2" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1g8cm3nwrsydazjc1gjs549hzafgxq8qb49gixrhl3qrd9calvi1"))))
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.12)
@@ -37165,17 +37221,11 @@ (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
- (inherit rust-pbkdf2-0.4)
+ (inherit rust-pbkdf2-0.10)
(name "rust-pbkdf2")
(version "0.3.0")
(source
--
2.34.0
This bug report was last modified 3 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.