From ba2b527ac36ff25e7365fbb1ecd0b140e55bd0d8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 11 May 2023 17:30:25 +0300 Subject: [PATCH] gnu: Add rust-spki-0.6. * gnu/packages/crates-io.scm (rust-spki-0.6): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3afa213ec4..cf8a0a7601 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -59629,6 +59629,27 @@ describing public keys as well as their associated AlgorithmIdentifiers (i.e. OIDs)") (license (list license:asl2.0 license:expat)))) +(define-public rust-spki-0.6 + (package + (inherit rust-spki-0.7) + (name "rust-spki") + (version "0.6.0") + (source (origin + (method url-fetch) + (uri (crate-uri "spki" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0ar1ldkl7svp8l3gfw2hyiiph7n2nqynjnjgdv1pscvsmjxh5kv7")))) + (arguments + `(#:cargo-inputs + (("rust-base64ct" ,rust-base64ct-1) + ("rust-der" ,rust-der-0.6) + ("rust-sha2" ,rust-sha2-0.10)) + #:cargo-development-inputs + (("rust-hex-literal" ,rust-hex-literal-0.3) + ("rust-tempfile" ,rust-tempfile-3)))))) + (define-public rust-spki-0.4 (package (inherit rust-spki-0.7)