guix-commits
[Top][All Lists]
Advanced

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

67/379: gnu: Add rust-pkcs5-0.5.


From: guix-commits
Subject: 67/379: gnu: Add rust-pkcs5-0.5.
Date: Mon, 10 Jul 2023 05:28:00 -0400 (EDT)

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

commit 5ecf6f0d777f33b315ccf794cb396c9fc536ed4c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:30:26 2023 +0300

    gnu: Add rust-pkcs5-0.5.
    
    * gnu/packages/crates-io.scm (rust-pkcs5-0.5): 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 c2426c95a6..4461777590 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44633,6 +44633,33 @@ Standards (PKCS) #5: Password-Based Cryptography 
Specification Version
 2.1 (RFC 8018).")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pkcs5-0.5
+  (package
+    (inherit rust-pkcs5-0.7)
+    (name "rust-pkcs5")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pkcs5" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0x81m285ijqi0fqkgym6a6ax02mfzdx87zfvqgrjsc2w3wn8c3fi"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes" ,rust-aes-0.8)
+        ("rust-cbc" ,rust-cbc-0.1)
+        ("rust-der" ,rust-der-0.6)
+        ("rust-des" ,rust-des-0.8)
+        ("rust-hmac" ,rust-hmac-0.12)
+        ("rust-pbkdf2" ,rust-pbkdf2-0.11)
+        ("rust-scrypt" ,rust-scrypt-0.10)
+        ("rust-sha1" ,rust-sha1-0.10)
+        ("rust-sha2" ,rust-sha2-0.10)
+        ("rust-spki" ,rust-spki-0.6))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.3))))))
+
 (define-public rust-pkcs5-0.3
   (package
     (inherit rust-pkcs5-0.7)



reply via email to

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