summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-27 20:42:25 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-11-28 07:58:49 +0200
commit968ed03ccc7ded5d4be9b3755eff0757fd50a764 (patch)
tree9c0da916dc5df7e1f1da5ef6e348ca267eb4e8ba /gnu
parentd26af661b6876dc869d48f1d4c4346675eb57a68 (diff)
downloadguix-968ed03ccc7ded5d4be9b3755eff0757fd50a764.tar.gz
gnu: rust-nb-connect-1: Update to 1.2.0.
* gnu/packages/crates-io.scm (rust-nb-connect-1): Update to 1.2.0.
[cargo-inputs]: Add rust-socket2-0.4.  Remove rust-winapi-0.3.
[home-page]: Update to new home-page.

Change-Id: I99180f37d593566ad6ba2f29bd521c4846af46b3
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03db3d6180..1502e11fb1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45243,23 +45243,22 @@ implementation.")
 (define-public rust-nb-connect-1
   (package
     (name "rust-nb-connect")
-    (version "1.0.2")
+    (version "1.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "nb-connect" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1649m71wc0cg1rqgl8vbh0489znkhpwgl0isjd5x8mz470ash8w1"))))
+        (base32 "05fadcyxaz0r8pbh498y24xay3b2gb73ih3fj7hwylggqq6m9fxi"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
-        ("rust-winapi" ,rust-winapi-0.3))
+        ("rust-socket2" ,rust-socket2-0.4))
        #:cargo-development-inputs
        (("rust-polling" ,rust-polling-2))))
-    (home-page "https://github.com/stjepang/nb-connect")
+    (home-page "https://github.com/smol-rs/nb-connect")
     (synopsis "Non-blocking TCP or Unix connect")
     (description
      "This crate allows you to create a TcpStream or a UnixStream in