guix-commits
[Top][All Lists]
Advanced

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

71/166: gnu: rust-tokio-socks-0.5: Update to 0.5.2.


From: guix-commits
Subject: 71/166: gnu: rust-tokio-socks-0.5: Update to 0.5.2.
Date: Tue, 24 Dec 2024 06:56:38 -0500 (EST)

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

commit 4ef80a07b99ad8155e096a399f0f16fde55e1d5a
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Dec 24 10:18:17 2024 +0200

    gnu: rust-tokio-socks-0.5: Update to 0.5.2.
    
    * gnu/packages/crates-io.scm (rust-tokio-socks-0.5): Update to 0.5.2.
    [arguments]: Don't skip the build.  Add cargo-test-flags.
    [cargo-inputs]: Add rust-futures-io-0.3.
    [cargo-development-inputs]: Add rust-futures-executor-0.3,
    rust-futures-util-0.3, rust-once-cell-1, rust-smol-2, rust-tokio-1.
    
    Change-Id: I9d6a15b0ff5a058cc31f3acf2fb90e6764168b76
---
 gnu/packages/crates-io.scm | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e41380ef7..b2e7586e42 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89510,21 +89510,33 @@ futures.")
 (define-public rust-tokio-socks-0.5
   (package
     (name "rust-tokio-socks")
-    (version "0.5.1")
+    (version "0.5.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tokio-socks" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1h6qixh17yjf98bjyw4q8i36pf2lyfbcr9hkjjb6aalx0bx5s5ji"))))
+        (base32 "0gq40sgggz21wfpshiq8pryh062vp7m36rrz3c8c2wj60aw70iqd"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-test-flags
+       '("--"
+         ;; This will skip the various tests dependant on network
+         ;; or on missing files.
+         "--skip=auth"
+         "--skip=user")
        #:cargo-inputs
        (("rust-either" ,rust-either-1)
+        ("rust-futures-io" ,rust-futures-io-0.3)
         ("rust-futures-util" ,rust-futures-util-0.3)
         ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-1))
+       #:cargo-development-inputs
+       (("rust-futures-executor" ,rust-futures-executor-0.3)
+        ("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-smol" ,rust-smol-2)
         ("rust-tokio" ,rust-tokio-1))))
     (home-page "https://github.com/sticnarf/tokio-socks";)
     (synopsis "Asynchronous SOCKS proxy support for Rust")



reply via email to

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