Subject: [bug#66579] [PATCH 06/13] gnu: Add rust-pbkdf2-0.8.

From: Steve George <[email-masked]>
Date: Mon, 16 Oct 2023 17:54:08 +0100

* gnu/packages/crates-io.scm (rust-pbkdf2-0.8): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8726d322f1..8dc22667d1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46274,6 +46274,33 @@ (define-public rust-pbkdf2-0.9
         ("rust-sha2" ,rust-sha2-0.9)
         ("rust-streebog" ,rust-streebog-0.9))))))
 
+(define-public rust-pbkdf2-0.8
+  (package
+    (inherit rust-pbkdf2-0.10)
+    (name "rust-pbkdf2")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pbkdf2" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ykgicvyjm41701mzqhrfmiz5sm5y0zwfg6csaapaqaf49a54pyr"))))
+    (arguments
+     (list #:skip-build? #f
+           #:cargo-inputs `(("rust-crypto-mac" ,rust-crypto-mac-0.11)
+                            ("rust-base64ct" ,rust-base64ct-1)
+                            ("rust-hmac" ,rust-hmac-0.11)
+                            ("rust-password-hash" ,rust-password-hash-0.2)
+                            ("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.11)
+                                        ("rust-rand-core" ,rust-rand-core-0.6)
+                                        ("rust-sha-1" ,rust-sha-1-0.9)
+                                        ("rust-sha2" ,rust-sha2-0.9))))))
+
 (define-public rust-pbkdf2-0.6
   (package
     (inherit rust-pbkdf2-0.10)
-- 
2.41.0