guix-commits
[Top][All Lists]
Advanced

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

196/311: gnu: rust-tokio-native-tls-0.3: Update to 0.3.1.


From: guix-commits
Subject: 196/311: gnu: rust-tokio-native-tls-0.3: Update to 0.3.1.
Date: Sat, 28 Oct 2023 16:39:11 -0400 (EDT)

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

commit 80e2aefd550e747178876dd241fac6a09012e2f0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Oct 27 00:18:41 2023 +0300

    gnu: rust-tokio-native-tls-0.3: Update to 0.3.1.
    
    * gnu/packages/crates-io.scm (rust-tokio-native-tls-0.3): Update to
    0.3.1.
    [arguments]: Don't skip build.  Add cargo-test-flags.
    [cargo-development-inputs]: Add rust-cfg-if-0.1, rust-env-logger-0.6,
    rust-futures-0.3, rust-lazy-static-1, rust-openssl-0.10,
    rust-schannel-0.1, rust-security-framework-0.2, rust-tempfile-3,
    rust-tokio-1, rust-tokio-util-0.6, rust-winapi-0.3.
    [native-inputs]: Add pkg-config.
    [inputs]: Add openssl.
    
    Change-Id: I3362234da101a939bcfc31eabf37cf2cc6eadaea
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++----
 1 file changed, 27 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ca07e34238..391d5dd75c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77970,20 +77970,43 @@ applications backed by buffers.")
 (define-public rust-tokio-native-tls-0.3
   (package
     (name "rust-tokio-native-tls")
-    (version "0.3.0")
+    (version "0.3.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tokio-native-tls" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0yvikgmph2qjq0ni2h2wfaxkzhbnc09c2544av0zidyj1dk9bngp"))))
+        (base32 "1wkfg6zn85zckmv4im7mv20ca6b1vmlib5xwz9p7g19wjfmpdbmv"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--release" "--"
+         ;; These tests need network connectivity
+         "--skip=self_signed"
+         "--skip=expired"
+         "--skip=wrong_host"
+         "--skip=untrusted_root"
+         "--skip=fetch_google")
        #:cargo-inputs
        (("rust-native-tls" ,rust-native-tls-0.2)
-        ("rust-tokio" ,rust-tokio-1))))
+        ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-env-logger" ,rust-env-logger-0.6)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-openssl" ,rust-openssl-0.10)
+        ("rust-schannel" ,rust-schannel-0.1)
+        ("rust-security-framework" ,rust-security-framework-0.2)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-tokio-util" ,rust-tokio-util-0.6)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list openssl))
     (home-page "https://tokio.rs";)
     (synopsis "TLS/SSL streams for Tokio")
     (description



reply via email to

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