From cd0f58f541d80b116814633dcd7fc879d766e4f2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:01:55 +0300 Subject: [PATCH] gnu: Add rust-pem-rfc7468-0.7. * gnu/packages/crates-io.scm (rust-pem-rfc7468-0.7): New variable. (rust-pem-rfc7468-0.2): Inherit from rust-pem-rfc7468-0.7. --- gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e332c10f4e..3ec07c81c8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43522,21 +43522,20 @@ PEM-encoded data.") #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))))) -(define-public rust-pem-rfc7468-0.2 +(define-public rust-pem-rfc7468-0.7 (package (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")))) + (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 - `(#:skip-build? #t - #:cargo-inputs (("rust-base64ct" ,rust-base64ct-1)))) + `(#: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") @@ -43548,6 +43547,22 @@ 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.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-percent-encoding-2 (package (name "rust-percent-encoding")