@@ -56394,6 +56394,48 @@ (define-public rust-rayon-core-1
(description "This package provides core APIs for Rayon.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rcgen-0.12
+ (package
+ (name "rust-rcgen")
+ (version "0.12.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rcgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0pfvmm1s8x12hiw810jv9ng1gnqnplh30xi6nw6mdix4qn08r4ax"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Don't use a vendored botan.
+ (substitute* "Cargo.toml"
+ ((".*vendored.*") ""))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-pem" ,rust-pem-3)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-x509-parser" ,rust-x509-parser-0.15)
+ ("rust-yasna" ,rust-yasna-0.5)
+ ("rust-zeroize" ,rust-zeroize-1))
+ #:cargo-development-inputs
+ (("rust-botan" ,rust-botan-0.10)
+ ("rust-openssl" ,rust-openssl-0.10)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-rsa" ,rust-rsa-0.9)
+ ("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
+ ("rust-x509-parser" ,rust-x509-parser-0.15))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list botan openssl))
+ (home-page "https://github.com/rustls/rcgen")
+ (synopsis "Rust X.509 certificate generator")
+ (description "Rust X.509 certificate generator.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rcgen-0.11
(package
(name "rust-rcgen")