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

commit 8c7f02b7cd7a88fd56258ebef87a0585a2c5121e
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Dec 4 17:30:04 2024 +0200

    gnu: rust-trust-dns-rustls-0.20: Update to 0.20.4.
    
    * gnu/packages/crates-web.scm (rust-trust-dns-rustls-0.20): Update to
    0.20.4.
    [arguments]: Don't skip the build.  Add cargo-test-flags.
    [cargo-development-inputs]: Add rust-openssl-0.10.
    [native-inputs]: Add pkg-config.
    [inputs]: Add openssl.
    
    Change-Id: I00ed1ec574926809542347a86b0186f4bc4efe8c
---
 gnu/packages/crates-web.scm | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 7b87ccce54..0c9a32bc1e 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -6936,17 +6936,20 @@ other queries.")
 (define-public rust-trust-dns-rustls-0.20
   (package
     (name "rust-trust-dns-rustls")
-    (version "0.20.0")
+    (version "0.20.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "trust-dns-rustls" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "00i5jf6bkfxikna0093swl0yz246nabpm0xngdxb94wkr3rz0kq9"))))
+        (base32 "0ygfcp65xrjgsa3mkyk54fq1n34wis866bh3lx3jy6hxfgz3a4dr"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; Not all files included.
+         "--skip=tests::test_tls_client_stream_ipv4")
        #:cargo-inputs
        (("rust-futures-channel" ,rust-futures-channel-0.3)
         ("rust-futures-io" ,rust-futures-io-0.3)
@@ -6956,7 +6959,10 @@ other queries.")
         ("rust-tokio" ,rust-tokio-1)
         ("rust-tokio-rustls" ,rust-tokio-rustls-0.22)
         ("rust-trust-dns-proto" ,rust-trust-dns-proto-0.20)
-        ("rust-webpki" ,rust-webpki-0.21))))
+        ("rust-webpki" ,rust-webpki-0.21))
+       #:cargo-development-inputs (("rust-openssl" ,rust-openssl-0.10))))
+    (native-inputs (list pkg-config))
+    (inputs (list openssl))
     (home-page "https://www.trust-dns.org/index.html";)
     (synopsis "Trust-DNS client rustls extension")
     (description

Reply via email to