gnu: Add rust-rcgen-0.11.
* gnu/packages/crates-io.scm (rust-rcgen-0.11): New variable. (rust-rcgen-0.8): Inherit from rust-rcgen-0.11.
This commit is contained in:
parent
159518348c
commit
480116da63
1 changed files with 44 additions and 10 deletions
|
@ -52922,8 +52922,51 @@ Rust.")
|
||||||
(description "This package provides core APIs for Rayon.")
|
(description "This package provides core APIs for Rayon.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-rcgen-0.11
|
||||||
|
(package
|
||||||
|
(name "rust-rcgen")
|
||||||
|
(version "0.11.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "rcgen" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0xl91nlp4ld00gl01pfv00a3agaip980wwc7r6184kfd1p0gnm29"))
|
||||||
|
(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-2)
|
||||||
|
("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-webpki" ,rust-webpki-0.22)
|
||||||
|
("rust-x509-parser" ,rust-x509-parser-0.15))))
|
||||||
|
(native-inputs
|
||||||
|
(list pkg-config))
|
||||||
|
(inputs
|
||||||
|
(list botan openssl perl))
|
||||||
|
(home-page "https://github.com/est31/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.8
|
(define-public rust-rcgen-0.8
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-rcgen-0.11)
|
||||||
(name "rust-rcgen")
|
(name "rust-rcgen")
|
||||||
(version "0.8.14")
|
(version "0.8.14")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -52938,7 +52981,6 @@ Rust.")
|
||||||
;; 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-chrono" ,rust-chrono-0.4)
|
(("rust-chrono" ,rust-chrono-0.4)
|
||||||
|
@ -52953,15 +52995,7 @@ Rust.")
|
||||||
("rust-rand" ,rust-rand-0.8)
|
("rust-rand" ,rust-rand-0.8)
|
||||||
("rust-rsa" ,rust-rsa-0.5)
|
("rust-rsa" ,rust-rsa-0.5)
|
||||||
("rust-webpki" ,rust-webpki-0.22)
|
("rust-webpki" ,rust-webpki-0.22)
|
||||||
("rust-x509-parser" ,rust-x509-parser-0.12))))
|
("rust-x509-parser" ,rust-x509-parser-0.12))))))
|
||||||
(native-inputs
|
|
||||||
(list pkg-config))
|
|
||||||
(inputs
|
|
||||||
(list botan openssl))
|
|
||||||
(home-page "https://github.com/est31/rcgen")
|
|
||||||
(synopsis "Rust X.509 certificate generator")
|
|
||||||
(description "Rust X.509 certificate generator")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-rctree-0.4
|
(define-public rust-rctree-0.4
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue