aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-crypto.scm
diff options
context:
space:
mode:
authorHerman Rimm <herman@rimm.ee>2024-02-18 22:09:09 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:43:48 +0300
commit781056928c1c12a34f2d403f6744b7886969798b (patch)
tree9d75503fefbc659101f1bf55a9b2918769275df5 /gnu/packages/crates-crypto.scm
parent3637f60465dae0524cd7120e90e2127b45a05138 (diff)
downloadguix-781056928c1c12a34f2d403f6744b7886969798b.tar.gz
guix-781056928c1c12a34f2d403f6744b7886969798b.zip
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>
Diffstat (limited to 'gnu/packages/crates-crypto.scm')
-rw-r--r--gnu/packages/crates-crypto.scm28
1 files changed, 28 insertions, 0 deletions
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")