mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02:00
gnu: Add rust-rcgen-0.12.
* gnu/packages/crates-tls.scm (rust-rcgen-0.12): New variable. (rust-rcgen-0.11): Inherit from rust-rcgen-0.12. Change-Id: I3e37ab618be638896c622ce32e6ad13bb492af40 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
0e1fda8955
commit
51d49b67c6
1 changed files with 46 additions and 10 deletions
|
@ -819,8 +819,53 @@ grammars and BER/DER encodings, for example.")
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs (("rust-der-parser" ,rust-der-parser-6))))))
|
#:cargo-inputs (("rust-der-parser" ,rust-der-parser-6))))))
|
||||||
|
|
||||||
|
(define-public rust-rcgen-0.12
|
||||||
|
(package
|
||||||
|
(name "rust-rcgen")
|
||||||
|
(version "0.12.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rcgen" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1qg10xvayyxhkcjk1x3g6n59a5rq6iaw6vmmrmyvqg0zmjw6sh28"))
|
||||||
|
(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-aws-lc-rs" ,rust-aws-lc-rs-1)
|
||||||
|
("rust-pem" ,rust-pem-3)
|
||||||
|
("rust-ring" ,rust-ring-0.17)
|
||||||
|
("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-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))))
|
||||||
|
|
||||||
(define-public rust-rcgen-0.11
|
(define-public rust-rcgen-0.11
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rcgen-0.12)
|
||||||
(name "rust-rcgen")
|
(name "rust-rcgen")
|
||||||
(version "0.11.3")
|
(version "0.11.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -836,7 +881,6 @@ grammars and BER/DER encodings, for example.")
|
||||||
;; Don't use a vendored botan.
|
;; Don't use a vendored botan.
|
||||||
(substitute* "Cargo.toml"
|
(substitute* "Cargo.toml"
|
||||||
((".*vendored.*") ""))))))
|
((".*vendored.*") ""))))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-pem" ,rust-pem-3)
|
(("rust-pem" ,rust-pem-3)
|
||||||
|
@ -851,15 +895,7 @@ grammars and BER/DER encodings, for example.")
|
||||||
("rust-rand" ,rust-rand-0.8)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-rsa" ,rust-rsa-0.9)
|
("rust-rsa" ,rust-rsa-0.9)
|
||||||
("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
|
("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
|
||||||
("rust-x509-parser" ,rust-x509-parser-0.15))))
|
("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.10
|
(define-public rust-rcgen-0.10
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue