gnu: rust-rustls-native-certs-0.7: Update to 0.7.3.

* gnu/packages/crates-tls.scm (rust-rustls-native-certs-0.7): Update to
0.7.3.
[arguments]: Don't skip the tests.  Add cargo-test-flags.
[cargo-development-inputs]: Add rust-tempfile-3.  Replace rust-ring-0.16
with 0.17, rust-rustls-0.22 with 0.23, rust-serial-test-2 with 3,
rust-untrusted-0.7 with 0.9, rust-x509-parser-0.15 with 0.16.

Change-Id: I0174611a8f2445745a903899b67bf50488e30908
This commit is contained in:
Efraim Flashner 2024-12-04 12:42:15 +02:00
parent 22187a8397
commit 676291f732
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1652,29 +1652,31 @@ (define-public rust-rustls-ffi-0.8
(define-public rust-rustls-native-certs-0.7
(package
(name "rust-rustls-native-certs")
(version "0.7.0")
(version "0.7.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-native-certs" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "14ip15dcr6fmjzi12lla9cpln7mmkdid4a7wsp344v4kz9gbh7wg"))))
(base32 "1r9ib5gwkfci2wbqnbh44nigvrfgxs4n1x89js82w97dxsab7gz5"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests want network access.
`(#:cargo-test-flags '("--release" "--"
"--skip=test_contains_most_roots_known_by_mozilla")
#:cargo-inputs (("rust-openssl-probe" ,rust-openssl-probe-0.1)
("rust-rustls-pemfile" ,rust-rustls-pemfile-2)
("rust-rustls-pki-types" ,rust-rustls-pki-types-1)
("rust-schannel" ,rust-schannel-0.1)
("rust-security-framework" ,rust-security-framework-2))
#:cargo-development-inputs (("rust-ring" ,rust-ring-0.16)
("rust-rustls" ,rust-rustls-0.22)
#:cargo-development-inputs (("rust-ring" ,rust-ring-0.17)
("rust-rustls" ,rust-rustls-0.23)
("rust-rustls-webpki" ,rust-rustls-webpki-0.102)
("rust-serial-test" ,rust-serial-test-2)
("rust-untrusted" ,rust-untrusted-0.7)
("rust-serial-test" ,rust-serial-test-3)
("rust-tempfile" ,rust-tempfile-3)
("rust-untrusted" ,rust-untrusted-0.9)
("rust-webpki-roots" ,rust-webpki-roots-0.26)
("rust-x509-parser" ,rust-x509-parser-0.15))))
("rust-x509-parser" ,rust-x509-parser-0.16))))
(home-page "https://github.com/ctz/rustls-native-certs")
(synopsis "Use the platform native certificate store with rustls")
(description "@code{rustls-native-certs} allows rustls to use the platform