diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-21 15:28:10 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:57 +0200 |
commit | 5f9041ea061d60cd1a947b529152d2915ef6aa40 (patch) | |
tree | 9a2716dc2711175a18bdfaa1db0443f64cfa1e4d | |
parent | a83965f0772065dbbb2ac452e1f56db1a6f84ab5 (diff) | |
download | guix-5f9041ea061d60cd1a947b529152d2915ef6aa40.tar.gz |
gnu: rust-pem-rfc7468: Move to (gnu packages crates-crypto).
* gnu/packages/crates-io.scm (rust-pem-rfc7468-0.7, rust-pem-rfc7468-0.6, rust-pem-rfc7468-0.3, rust-pem-rfc7468-0.2): Move from here ... * gnu/packages/crates-crypto.scm: ... to here. Change-Id: I99497c12f075dc0c6ce8cfc4959b0a54fd511f64
-rw-r--r-- | gnu/packages/crates-crypto.scm | 72 | ||||
-rw-r--r-- | gnu/packages/crates-io.scm | 71 |
2 files changed, 72 insertions, 71 deletions
diff --git a/gnu/packages/crates-crypto.scm b/gnu/packages/crates-crypto.scm index 16b64b91ff..ea5e525f44 100644 --- a/gnu/packages/crates-crypto.scm +++ b/gnu/packages/crates-crypto.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2021 Domagoj Stolfa <domagoj.stolfa@gmail.com> ;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr> +;;; Copyright © 2022 Attila Lendvai <attila@lendvai.name> ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net> ;;; Copyright © 2022 Marius Bakke <marius@gnu.org> @@ -1913,3 +1914,74 @@ in pure Rust.") (("rust-hmac" ,rust-hmac-0.10) ("rust-sha-1" ,rust-sha-1-0.9) ("rust-sha2" ,rust-sha2-0.9)))))) + +(define-public rust-pem-rfc7468-0.7 + (package + (name "rust-pem-rfc7468") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) + (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") + (synopsis + "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding") + (description + "This package provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS +Structures, implementing a strict subset of the original Privacy-Enhanced Mail +encoding intended specifically for use with cryptographic keys, certificates, +and other messages. It provides a no_std-friendly, constant-time +implementation suitable for use with cryptographic private keys.") + (license (list license:asl2.0 license:expat)))) + +(define-public rust-pem-rfc7468-0.6 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1b5d8rvc4lgwxhs72m99fnrg0wq7bqh4x4wq0c7501ci7a1mkl94")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-pem-rfc7468-0.3 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0c7vrrksg8fqzxb7q4clzl14f0qnqky7jqspjqi4pailiybmvph1")))) + (arguments + `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) + +(define-public rust-pem-rfc7468-0.2 + (package + (inherit rust-pem-rfc7468-0.7) + (name "rust-pem-rfc7468") + (version "0.2.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "pem-rfc7468" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 679212e30d..d6aa3511f1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -47977,77 +47977,6 @@ PEM-encoded data.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) -(define-public rust-pem-rfc7468-0.7 - (package - (name "rust-pem-rfc7468") - (version "0.7.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "04l4852scl4zdva31c1z6jafbak0ni5pi0j38ml108zwzjdrrcw8")))) - (build-system cargo-build-system) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) - (home-page "https://github.com/RustCrypto/formats/tree/master/pem-rfc7468") - (synopsis - "PEM Encoding implementing a subset of Privacy-Enhanced Mail encoding") - (description - "This package provides PEM Encoding (RFC 7468) for PKIX, PKCS, and CMS -Structures, implementing a strict subset of the original Privacy-Enhanced Mail -encoding intended specifically for use with cryptographic keys, certificates, -and other messages. It provides a no_std-friendly, constant-time -implementation suitable for use with cryptographic private keys.") - (license (list license:asl2.0 license:expat)))) - -(define-public rust-pem-rfc7468-0.6 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.6.0") - (source (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1b5d8rvc4lgwxhs72m99fnrg0wq7bqh4x4wq0c7501ci7a1mkl94")))) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - -(define-public rust-pem-rfc7468-0.3 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.3.1") - (source - (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "0c7vrrksg8fqzxb7q4clzl14f0qnqky7jqspjqi4pailiybmvph1")))) - (arguments - `(#:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - -(define-public rust-pem-rfc7468-0.2 - (package - (inherit rust-pem-rfc7468-0.7) - (name "rust-pem-rfc7468") - (version "0.2.4") - (source - (origin - (method url-fetch) - (uri (crate-uri "pem-rfc7468" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1m1c9jypydzabg4yscplmvff7pdcc8gg4cqg081hnlf03hxkmsc4")))) - (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))))) - (define-public rust-pep440-rs-0.3 (package (name "rust-pep440-rs") |