summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 10:21:18 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:48 +0200
commit3285f25c5cb844c25dec09ea018bb4bfca1ae2ad (patch)
treef17b75fb2506d800de0b18fd317426f492288ac7
parenteea77ec83cb30ac5153ad59960f5e5505156dba4 (diff)
downloadguix-3285f25c5cb844c25dec09ea018bb4bfca1ae2ad.tar.gz
gnu: Add rust-mio-uds-0.6.
* gnu/packages/crates-io.scm (rust-mio-uds-0.6): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 555f1cf9d2..1feaada9b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4837,6 +4837,34 @@ drop-in replacement for miniz.")
     (description "Lightweight non-blocking IO.")
     (license license:expat)))
 
+(define-public rust-mio-uds-0.6
+  (package
+    (name "rust-mio-uds")
+    (version "0.6.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "mio-uds" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09gimdbnj7b9yca99pk8lxh9jhl79msj795c8fxi2sqr9slmfqln"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-iovec" ,rust-iovec-0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-mio" ,rust-mio-0.6))
+       #:cargo-development-inputs
+       (("rust-tempdir" ,rust-tempdir-0.3))))
+    (home-page "https://github.com/alexcrichton/mio-uds")
+    (synopsis "Unix domain socket bindings for mio")
+    (description
+     "Unix domain socket bindings for mio.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-miow-0.3
   (package
     (name "rust-miow")