guix-commits
[Top][All Lists]
Advanced

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

48/68: gnu: rust-trust-dns-native-tls-0.18: Downgrade to 0.18.0-alpha.2.


From: guix-commits
Subject: 48/68: gnu: rust-trust-dns-native-tls-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 0e8c81f9aba6034682c6c94aacc2f3be22edcfae
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 19 16:36:34 2024 +0200

    gnu: rust-trust-dns-native-tls-0.18: Downgrade to 0.18.0-alpha.2.
    
    * gnu/packages/crates-web.scm (rust-trust-dns-native-tls-0.18):
    Downgrade to 0.10.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: I725cf9dd245bdbe218d4cdee828ed8e20c109bf2
---
 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 404e0aeafd..7e5d908154 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -5968,27 +5968,30 @@ extension for the Trust-DNS client to use native-tls 
for TLS.")
     (inputs
      (list openssl))))
 
-(define-public rust-trust-dns-native-tls-0.18
+(define-public rust-trust-dns-native-tls-0.18.0-alpha.2
   (package
     (inherit rust-trust-dns-native-tls-0.19)
     (name "rust-trust-dns-native-tls")
-    (version "0.18.1")
+    (version "0.18.0-alpha.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "trust-dns-native-tls" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0rcg018vdd5chd4hcmjp753qjlf4k311nmrxa5ay2hxjllzmqd1y"))))
+        (base32 "0z99xb24g75lpfg57k91bf4s6niw9aq2dd4bwzlgbfm97byi7akb"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #false                  ;missing files
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; Not all files included.
+         "--skip=tests::test_tls_client_stream_ipv4")
        #:cargo-inputs
        (("rust-futures" ,rust-futures-0.3)
         ("rust-native-tls" ,rust-native-tls-0.2)
         ("rust-tokio" ,rust-tokio-0.2)
         ("rust-tokio-tls" ,rust-tokio-tls-0.3)
-        ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18))))))
+        ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.18.0-alpha.2))))))
 
 (define-public rust-trust-dns-native-tls-0.6
   (package



reply via email to

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