@@ -935,8 +935,51 @@ (define-public rust-oid-registry-0.2
`(#:skip-build? #t
#:cargo-inputs (("rust-der-parser" ,rust-der-parser-6))))))
+(define-public rust-rcgen-0.13
+ (package
+ (name "rust-rcgen")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rcgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yb7lg0pd1j66jr0kacs5z8q66fb9izkvsp11ma8hry4f8c7w1sl"))
+ (modules '((guix build utils)))
+ ;; Don't use a vendored botan.
+ (snippet '(substitute* "Cargo.toml"
+ ((".*vendored.*") "")))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs (list rust-aws-lc-rs-1
+ rust-pem-3
+ rust-ring-0.17
+ rust-rustls-pki-types-1
+ rust-time-0.3
+ rust-x509-parser-0.16
+ rust-yasna-0.5
+ rust-zeroize-1)
+ #:cargo-development-inputs (list rust-botan-0.10
+ rust-openssl-0.10
+ rust-rand-0.8
+ rust-ring-0.17
+ rust-rsa-0.9
+ rust-rustls-pki-types-1
+ rust-rustls-webpki-0.102
+ rust-x509-parser-0.16)))
+ (native-inputs (list pkg-config))
+ (inputs (list botan openssl))
+ (home-page "https://github.com/rustls/rcgen")
+ (synopsis "Rust X.509 certificate generator")
+ (description
+ "This package provides Rust X.509 certificate generator.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rcgen-0.12
(package
+ (inherit rust-rcgen-0.13)
(name "rust-rcgen")
(version "0.12.1")
(source (origin
@@ -952,7 +995,6 @@ (define-public rust-rcgen-0.12
;; Don't use a vendored botan.
(substitute* "Cargo.toml"
((".*vendored.*") ""))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
@@ -969,15 +1011,7 @@ (define-public rust-rcgen-0.12
("rust-ring" ,rust-ring-0.17)
("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))))
+ ("rust-x509-parser" ,rust-x509-parser-0.15))))))
(define-public rust-rcgen-0.11
(package