gnu: Add rust-test-cert-gen-0.7.

* gnu/packages/crates-io.scm (rust-test-cert-gen-0.7): New variable.
(rust-test-cert-gen-0.1): Inherit from rust-test-cert-gen-0.7.
This commit is contained in:
Efraim Flashner 2023-02-22 11:45:15 +02:00
parent 474615bc87
commit 181681b5a3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -60971,8 +60971,33 @@ (define-public rust-test-case-1
into mod, giving clear and readable test results.") into mod, giving clear and readable test results.")
(license license:expat))) (license license:expat)))
(define-public rust-test-cert-gen-0.7
(package
(name "rust-test-cert-gen")
(version "0.7.0")
(source (origin
(method url-fetch)
(uri (crate-uri "test-cert-gen" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"06gl7zqvrsl4fqm6d3i21q459gcv9nf258kb5ynd8dip5spd021j"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Not all files included.
#:cargo-inputs
(("rust-pem" ,rust-pem-0.8)
("rust-tempdir" ,rust-tempdir-0.3))))
(home-page "https://crates.io/crates/test-cert-gen")
(synopsis "Generate certificates for tests")
(description
"This package is an utility to generate certificates for tests (e.g.,
for TLS).")
(license (list license:expat license:asl2.0))))
(define-public rust-test-cert-gen-0.1 (define-public rust-test-cert-gen-0.1
(package (package
(inherit rust-test-cert-gen-0.7)
(name "rust-test-cert-gen") (name "rust-test-cert-gen")
(version "0.1.0") (version "0.1.0")
(source (source
@ -60982,14 +61007,7 @@ (define-public rust-test-cert-gen-0.1
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1lrpirh863h9rq2iqp0kivshzwd909fgiy13a5684d685ap7c565")))) (base32 "1lrpirh863h9rq2iqp0kivshzwd909fgiy13a5684d685ap7c565"))))
(build-system cargo-build-system) (arguments `(#:skip-build? #t))))
(arguments `(#:skip-build? #t))
(home-page "https://crates.io/crates/test-cert-gen")
(synopsis "Generate certificates for tests")
(description
"This package is an utility to generate certificates for tests (e.g.,
for TLS).")
(license (list license:expat license:asl2.0))))
(define-public rust-test-generator-0.3 (define-public rust-test-generator-0.3
(package (package