guix-commits
[Top][All Lists]
Advanced

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

64/68: gnu: Add rust-pkcs7-0.4.


From: guix-commits
Subject: 64/68: gnu: Add rust-pkcs7-0.4.
Date: Wed, 20 Mar 2024 11:24:40 -0400 (EDT)

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

commit 77c4c11a41ffe89c23d776f226b2c4cb5fa00795
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:09:09 2024 +0100

    gnu: Add rust-pkcs7-0.4.
    
    * gnu/packages/crates-crypto.scm (rust-pkcs7-0.4): Add variable.
    
    Change-Id: I35ff754d24ac50a25fa94149bdf50291ff3a46f5
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-crypto.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm
index 9660b8430f..0631c44902 100644
--- a/gnu/packages/crates-crypto.scm
+++ b/gnu/packages/crates-crypto.scm
@@ -3616,6 +3616,34 @@ Standards (PKCS) #5: Password-Based Cryptography 
Specification Version
         ("rust-sha2" ,rust-sha2-0.9)
         ("rust-spki" ,rust-spki-0.4))))))
 
+(define-public rust-pkcs7-0.4
+  (package
+    (name "rust-pkcs7")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pkcs7" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1rvp9gm7vzcbbzz6vr6xz6ri2szgxm35j0zk5dhf01b40sz7i4fp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-der" ,rust-der-0.7)
+                       ("rust-spki" ,rust-spki-0.7)
+                       ("rust-x509-cert" ,rust-x509-cert-0.2))
+       #:cargo-development-inputs
+       (("rust-der" ,rust-der-0.7)
+        ("rust-hex-literal" ,rust-hex-literal-0.4)
+        ("rust-x509-cert" ,rust-x509-cert-0.2))))
+    (home-page "https://github.com/RustCrypto/formats/tree/master/pkcs7";)
+    (synopsis "Implementation of Public-Key Cryptography Standards (PKCS) #7")
+    (description
+     "This package is a pure Rust implementation of Public-Key
+Cryptography Standards (PKCS) #7: Cryptographic Message Syntax
+Specification (RFC 5652).")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-pkcs8-0.10
   (package
     (name "rust-pkcs8")



reply via email to

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