GNU bug report logs -
#53075
[PATCH 1/41] gnu: rust-rbw: adding rust-zeroize-1.4
Previous Next
Reported by: Nicolas Graves <ngraves <at> ngraves.fr>
Date: Fri, 7 Jan 2022 13:54:02 UTC
Severity: normal
Tags: patch
Merged with 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,
53101,
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
[Message part 1 (text/plain, inline)]
Your bug report
#53075: [PATCH 26/41] gnu: rust-rbw: adding rust-pbkdf2
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 53101 <at> debbugs.gnu.org.
--
53075: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53075
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello,
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:
> From 117ac2e745d1e9e2122bdf5859ae2b2781ca01c4 Mon Sep 17 00:00:00 2001
> From: Nicolas Graves <ngraves <at> ngraves.fr>
> Date: Thu, 6 Jan 2022 23:16:42 +0100
> Subject: [PATCH 02/42] rust-rbw dependencies : adding rust-zeroize-1.4
Thank you. First some general notes about your patches.
The first thing is that your patch set should have gone under the same
bug number. You created more than 40 bugs for rbw. You may want to look
at "Contributing" section of the Guix manual for details.
Also, commit messages are normalized in Guix. You should look at what
I wrote instead of yours to get a feel about it.
Eventually, descriptions should consist of full sentences.
Now about this patch.
Unless under exceptional circumstances, we don't add a new package for
a change below the first non-zero digit. In this case, the common way is
to simply update rust-zeroize-1 to 1.4.3.
Therefore, I dropped this patch and did the above.
Regards,
--
Nicolas Goaziou
[Message part 3 (message/rfc822, inline)]
[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.