guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/25: gnu: Add rust-pbkdf2-0.11.


From: guix-commits
Subject: 20/25: gnu: Add rust-pbkdf2-0.11.
Date: Wed, 22 Feb 2023 14:05:16 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit cd357237fdb70861d47db9199417971e9812f9df
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 20:58:07 2023 +0200

    gnu: Add rust-pbkdf2-0.11.
    
    * gnu/packages/crates-io.scm (rust-pbkdf2-0.11): New variable.
    (rust-pbkdf2-0.10): Inherit from rust-pbkdf2-0.11.
---
 gnu/packages/crates-io.scm | 39 +++++++++++++++++++++++++++++++++------
 1 file changed, 33 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5fe2c3e8dd..cadfc35458 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41205,24 +41205,23 @@ relative path from a provided base directory path to 
the provided
 path.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-pbkdf2-0.10
+(define-public rust-pbkdf2-0.11
   (package
     (name "rust-pbkdf2")
-    (version "0.10.0")
+    (version "0.11.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "pbkdf2" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4"))))
+        (base32 "05q9wqjvfrs4dvw03yn3bvcs4zghz0a7ycfa53pz2k2fqhp6k843"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-base64ct" ,rust-base64ct-1.0.1)
-        ("rust-digest" ,rust-digest-0.10)
+       (("rust-digest" ,rust-digest-0.10)
         ("rust-hmac" ,rust-hmac-0.12)
-        ("rust-password-hash" ,rust-password-hash-0.3)
+        ("rust-password-hash" ,rust-password-hash-0.4)
         ("rust-rayon" ,rust-rayon-1)
         ("rust-sha-1" ,rust-sha-1-0.10)
         ("rust-sha2" ,rust-sha2-0.10))
@@ -41239,6 +41238,34 @@ 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.10
+  (package
+    (inherit rust-pbkdf2-0.11)
+    (name "rust-pbkdf2")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pbkdf2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0d3l06x5mg96njxfsksjwl6440alf72qh4rwrpnq4fwmrz1qqqm4"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-base64ct" ,rust-base64ct-1.0.1)
+        ("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))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.3)
+        ("rust-hmac" ,rust-hmac-0.12)
+        ("rust-sha-1" ,rust-sha-1-0.10)
+        ("rust-sha2" ,rust-sha2-0.10)
+        ("rust-streebog" ,rust-streebog-0.10))))))
+
 (define-public rust-pbkdf2-0.9
   (package
     (inherit rust-pbkdf2-0.10)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]