me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-rcgen-0.10.

* gnu/packages/crates-io.scm (rust-rcgen-0.10): New variable.

Change-Id: Ia3ed8f60954df4af0ffc979fc36774ce3158e8d8
master
Efraim Flashner 2023-12-21 09:30:43 +02:00
parent 78ab28b73d
commit 2b3d827d7e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 31 additions and 0 deletions

View File

@ -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)