guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 49/68: gnu: rust-trust-dns-rustls-0.18: Downgrade to 0.18.0-alpha.2.
Date: Wed, 20 Mar 2024 11:24:36 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0f1d5c1b3cf701f92981e478d87ecc3ac7c13c72
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 19 16:37:39 2024 +0200

    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
---
 gnu/packages/crates-web.scm | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 7e5d908154..886b13ff78 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -6688,28 +6688,31 @@ the Trust-DNS client to use rustls for TLS.")
     (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))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]