guix-patches
[Top][All Lists]
Advanced

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

[bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4


From: Domagoj Stolfa
Subject: [bug#49390] [PATCH 09/21] gnu: Add rust-socket2-0.4
Date: Sun, 4 Jul 2021 17:31:51 +0100

* gnu/packages/crates-io.scm (rust-socket2-0.4): New public variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 79937fb40a..055730505b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43154,6 +43154,36 @@ maximal amount of configuration possible intended.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-socket2-0.4
+  (package
+    (name "rust-socket2")
+    (version "0.4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "socket2" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "18ny6m1gnf6cwp5ax0b5hr36w6yg16z7faj76b31aq2jghhgqgcy"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-libc" ,rust-libc-0.2)
+         ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page
+      "https://github.com/rust-lang/socket2";)
+    (synopsis
+      "Utilities for handling networking sockets with a maximal amount of 
configuration
+possible intended.
+")
+    (description
+      "Utilities for handling networking sockets with a maximal amount of 
configuration
+possible intended.
+")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-socks-0.3
   (package
     (name "rust-socks")
-- 
2.32.0






reply via email to

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