diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:30:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:31 +0200 |
commit | 2b3d827d7e7b2bddc93c17c0ff0dd9a5478dc7b6 (patch) | |
tree | a308892c64f0e113e85730b9174b3eba413f9a7e | |
parent | 78ab28b73d37547a5ccc47e010a884a7cdb5f334 (diff) |
gnu: Add rust-rcgen-0.10.
* gnu/packages/crates-io.scm (rust-rcgen-0.10): New variable.
Change-Id: Ia3ed8f60954df4af0ffc979fc36774ce3158e8d8
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5b4fd8e765..09e2fdbc23 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -61909,6 +61909,37 @@ Rust.") (description "Rust X.509 certificate generator") (license (list license:expat license:asl2.0)))) +(define-public rust-rcgen-0.10 + (package + (inherit rust-rcgen-0.11) + (name "rust-rcgen") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "rcgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nvqgr697xzdzaavkcwcl59kxw7xfx9zdhdzx49fm3gkwbpq9gpz")) + (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.14) + ("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.6) + ("rust-webpki" ,rust-webpki-0.22) + ("rust-x509-parser" ,rust-x509-parser-0.14)))))) + (define-public rust-rcgen-0.8 (package (inherit rust-rcgen-0.11) |