gnu: Add rust-rustls-pemfile-1.

* gnu/packages/crates-io.scm (rust-rustls-pemfile-1): New variable.
(rust-rustls-pemfile-0.2): Inherit from rust-rustls-pemfile-1.
This commit is contained in:
Efraim Flashner 2023-02-22 11:26:08 +02:00
parent 1af6671474
commit d94fe3daf7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -50757,8 +50757,32 @@ (define-public rust-rustls-native-certs-0.4
("rust-webpki" ,rust-webpki-0.21)
("rust-webpki-roots" ,rust-webpki-roots-0.20))))))
(define-public rust-rustls-pemfile-1
(package
(name "rust-rustls-pemfile")
(version "1.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-pemfile" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "16x5jhja8z0j5hcrlaqqz5qnyg9qgv8qqffwbdil6fl0b1nvb56i"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.21))
#:cargo-development-inputs
(("rust-bencher" ,rust-bencher-0.1))))
(home-page "https://github.com/rustls/pemfile")
(synopsis "Basic parser for PEM formatted keys and certificates")
(description "This package provides a very basic parser for the
PEM-encodings commonly used to store keys and certificates at rest.")
(license (list license:asl2.0 license:isc license:expat))))
(define-public rust-rustls-pemfile-0.2
(package
(inherit rust-rustls-pemfile-1)
(name "rust-rustls-pemfile")
(version "0.2.1")
(source
@ -50768,17 +50792,11 @@ (define-public rust-rustls-pemfile-0.2
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1jfi97lqnnnnxhmfy6ygrsp0x70m8wsdpaw45svvz1qc6vmymssy"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-base64" ,rust-base64-0.13))
#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.3))))
(home-page "https://github.com/rustls/pemfile")
(synopsis "Basic parser for PEM formatted keys and certificates")
(description "This package provides a very basic parser for the
PEM-encodings commonly used to store keys and certificates at rest.")
(license (list license:asl2.0 license:isc license:expat))))
(("rust-criterion" ,rust-criterion-0.3))))))
(define-public rust-rusttype-0.9
(package