diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-29 09:02:27 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:35 +0200 |
commit | 2658bd5dd85e2b4209e15d0aaa4b8abe40aa879a (patch) | |
tree | 659c1b7b6f5b10bfa665d895aaef8db5705ff90d | |
parent | 6aee907e87f19a8a3ddc4bdd6b21baf64d02a778 (diff) |
gnu: Add rust-rcgen-0.9.
* gnu/packages/crates-tls.scm (rust-rcgen-0.9): New variable.
Change-Id: Ibf2307d3019ed2bcaf0ae0c6af6a4235f77d7fd1
-rw-r--r-- | gnu/packages/crates-tls.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index bd27188d35..40a0652119 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -791,6 +791,37 @@ grammars and BER/DER encodings, for example.") ("rust-webpki" ,rust-webpki-0.22) ("rust-x509-parser" ,rust-x509-parser-0.14)))))) +(define-public rust-rcgen-0.9 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1pdwrza2j6bv94nxcfrb6dpbrrrjdnspb3hkwr137rfy3vgg64v4")) + (snippet + #~(begin (use-modules (guix build utils)) + ;; Don't use a vendored botan. + (substitute* "Cargo.toml" + ((".*vendored.*") "")))))) + (arguments + `(#:cargo-inputs (("rust-pem" ,rust-pem-1) + ("rust-ring" ,rust-ring-0.16) + ("rust-time" ,rust-time-0.3) + ("rust-x509-parser" ,rust-x509-parser-0.13) + ("rust-yasna" ,rust-yasna-0.5) + ("rust-zeroize" ,rust-zeroize-1)) + #:cargo-development-inputs (("rust-botan" ,rust-botan-0.8) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rand" ,rust-rand-0.8) + ("rust-rsa" ,rust-rsa-0.5) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.13)))))) + (define-public rust-rcgen-0.8 (package (inherit rust-rcgen-0.11) |