guix-commits
[Top][All Lists]
Advanced

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

34/379: gnu: Add rust-pkcs5-0.7.


From: guix-commits
Subject: 34/379: gnu: Add rust-pkcs5-0.7.
Date: Mon, 10 Jul 2023 05:27:50 -0400 (EDT)

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

commit 448a72821e21aeeacdb3e7590caebbdf1d9f9849
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:09:46 2023 +0300

    gnu: Add rust-pkcs5-0.7.
    
    * gnu/packages/crates-io.scm (rust-pkcs5-0.7): New variable.
    (rust-pkcs5-0.3): Inherit from rust-pkcs5-0.7.
---
 gnu/packages/crates-io.scm | 44 +++++++++++++++++++++++++++++++++++---------
 1 file changed, 35 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 110ec4601c..eb308450ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44600,8 +44600,42 @@ Cryptography Standards (PKCS) #1: RSA Cryptography 
Specifications Version 2.2
 (RFC 8017)")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pkcs5-0.7
+  (package
+    (name "rust-pkcs5")
+    (version "0.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pkcs5" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "19k9igzay529fqj90qdkgnvmvwp65wzw73h2vn3sigqq3b4y4iz8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-aes" ,rust-aes-0.8)
+        ("rust-cbc" ,rust-cbc-0.1)
+        ("rust-der" ,rust-der-0.7)
+        ("rust-des" ,rust-des-0.8)
+        ("rust-pbkdf2" ,rust-pbkdf2-0.12)
+        ("rust-scrypt" ,rust-scrypt-0.11)
+        ("rust-sha1" ,rust-sha1-0.10)
+        ("rust-sha2" ,rust-sha2-0.10)
+        ("rust-spki" ,rust-spki-0.7))
+       #:cargo-development-inputs
+       (("rust-hex-literal" ,rust-hex-literal-0.3))))
+    (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs5";)
+    (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #5")
+    (description
+     "This package is a pure Rust implementation of Public-Key Cryptography
+Standards (PKCS) #5: Password-Based Cryptography Specification Version
+2.1 (RFC 8018).")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pkcs5-0.3
   (package
+    (inherit rust-pkcs5-0.7)
     (name "rust-pkcs5")
     (version "0.3.2")
     (source
@@ -44611,7 +44645,6 @@ Cryptography Standards (PKCS) #1: RSA Cryptography 
Specifications Version 2.2
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -44624,14 +44657,7 @@ Cryptography Standards (PKCS) #1: RSA Cryptography 
Specifications Version 2.2
         ("rust-scrypt" ,rust-scrypt-0.8)
         ("rust-sha-1" ,rust-sha-1-0.9)
         ("rust-sha2" ,rust-sha2-0.9)
-        ("rust-spki" ,rust-spki-0.4))))
-    (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs5";)
-    (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #5")
-    (description
-     "This package is a pure Rust implementation of Public-Key Cryptography
-Standards (PKCS) #5: Password-Based Cryptography Specification Version
-2.1 (RFC 8018).")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-spki" ,rust-spki-0.4))))))
 
 (define-public rust-pkcs8-0.10
   (package



reply via email to

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