gnu: rust-trust-dns-rustls-0.18: Downgrade to 0.18.0-alpha.2.

* gnu/packages/crates-web.scm (rust-trust-dns-rustls-0.18): Downgrade to
0.18.0-alpha.2.
[arguments]: Don't skip the tests.  Add cargo-test-flags.
[cargo-inputs]: Replace rust-trust-dns-proto-0.18 with 0.18.0-alpha.2.

Change-Id: I6dab7b641b6ee500221ada9b269e7f28dc9fe02e
This commit is contained in:
Efraim Flashner 2024-03-19 16:37:39 +02:00
parent 846b88930a
commit 85bed783a3
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6688,28 +6688,31 @@ (define-public rust-trust-dns-rustls-0.19
(inputs
(list openssl))))
(define-public rust-trust-dns-rustls-0.18
(define-public rust-trust-dns-rustls-0.18.0-alpha.2
(package
(inherit rust-trust-dns-rustls-0.19)
(name "rust-trust-dns-rustls")
(version "0.18.1")
(version "0.18.0-alpha.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "trust-dns-rustls" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "19vhb0xsyr0wy4p0liwhv4rqmwv6szfmmid6439gq7wah1x1hzp4"))))
(base32 "1qbqn9isrn9awbbhfd72nfqx529idzwdc025ga85vqpxkpryadhc"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #false ;missing file
`(#:cargo-test-flags
'("--release" "--"
;; Not all files included.
"--skip=tests::test_tls_client_stream_ipv4")
#:cargo-inputs
(("rust-futures" ,rust-futures-0.3)
("rust-log" ,rust-log-0.4)
("rust-rustls" ,rust-rustls-0.16)
("rust-tokio" ,rust-tokio-0.2)
("rust-tokio-rustls" ,rust-tokio-rustls-0.12)
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18)
("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2)
("rust-webpki" ,rust-webpki-0.21))
#:cargo-development-inputs
(("rust-openssl" ,rust-openssl-0.10))))))