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