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.
This commit is contained in:
parent
6a4e3773a0
commit
28c970f290
|
@ -44600,8 +44600,42 @@ (define-public rust-pkcs1-0.2
|
||||||
(RFC 8017)")
|
(RFC 8017)")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(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
|
(define-public rust-pkcs5-0.3
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-pkcs5-0.7)
|
||||||
(name "rust-pkcs5")
|
(name "rust-pkcs5")
|
||||||
(version "0.3.2")
|
(version "0.3.2")
|
||||||
(source
|
(source
|
||||||
|
@ -44611,7 +44645,6 @@ (define-public rust-pkcs5-0.3
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl"))))
|
(base32 "1m3xrrwwbn9883bylgjzssfh3w1lbl7fhkb3ndz721rf27pca8sl"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
|
@ -44624,14 +44657,7 @@ (define-public rust-pkcs5-0.3
|
||||||
("rust-scrypt" ,rust-scrypt-0.8)
|
("rust-scrypt" ,rust-scrypt-0.8)
|
||||||
("rust-sha-1" ,rust-sha-1-0.9)
|
("rust-sha-1" ,rust-sha-1-0.9)
|
||||||
("rust-sha2" ,rust-sha2-0.9)
|
("rust-sha2" ,rust-sha2-0.9)
|
||||||
("rust-spki" ,rust-spki-0.4))))
|
("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))))
|
|
||||||
|
|
||||||
(define-public rust-pkcs8-0.10
|
(define-public rust-pkcs8-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue