gnu: rust-rustls-pki-types-1: Update to 1.10.0.

* gnu/packages/crates-tls.scm (rust-rustls-pki-types-1): Update to
1.10.0.
[source]: Add snippet to allow for newer versions of dependencies.
[cargo-development-inputs]: Add rust-crabgrind-0.1.
[native-inputs]: Add valgrind.

Change-Id: I490a1acde3cae79b9ceb5f710111999c3667ac4f
This commit is contained in:
Efraim Flashner 2024-11-20 20:33:55 +02:00
parent 1325cce333
commit 1007136bc3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -44,7 +44,8 @@ (define-module (gnu packages crates-tls)
#:use-module (gnu packages perl) #:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
#:use-module (gnu packages rust-apps) #:use-module (gnu packages rust-apps)
#:use-module (gnu packages tls)) #:use-module (gnu packages tls)
#:use-module (gnu packages valgrind))
(define-public rust-asn1-0.15 (define-public rust-asn1-0.15
(package (package
@ -1617,18 +1618,25 @@ (define-public rust-rustls-pemfile-0.2
(define-public rust-rustls-pki-types-1 (define-public rust-rustls-pki-types-1
(package (package
(name "rust-rustls-pki-types") (name "rust-rustls-pki-types")
(version "1.7.0") (version "1.10.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "rustls-pki-types" version)) (uri (crate-uri "rustls-pki-types" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0banlc9xzwqrx8n0h4bd0igmq3z5hc72rn941lf22cp3gkkraqlp")))) (base32 "0jv78c32pgf1i0bn7rzf4xdr9qh5wsvigp6akc1yhzls7hdj1w8n"))
(snippet
#~(begin (use-modules (guix build utils))
(substitute* "Cargo.toml"
(("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-web-time" ,rust-web-time-1)))) (("rust-web-time" ,rust-web-time-1))
#:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1))))
(native-inputs (list valgrind))
(home-page "https://github.com/rustls/pki-types") (home-page "https://github.com/rustls/pki-types")
(synopsis "Shared types for the rustls PKI ecosystem") (synopsis "Shared types for the rustls PKI ecosystem")
(description (description