guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 196/436: gnu: rust-tokio-native-tls-0.3: Update to 0.3.1.
Date: Sun, 5 Nov 2023 05:28:51 -0500 (EST)

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

commit e35ada93a19c5764ea5c7bc03840c1dfdf72ba45
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 b1c85c2110..835735899b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77985,20 +77985,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]