guix-commits
[Top][All Lists]
Advanced

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

32/41: gnu: Add rust-miow.


From: guix-commits
Subject: 32/41: gnu: Add rust-miow.
Date: Fri, 6 Sep 2019 08:47:31 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 5ae8c1fba34d3e770751663ebdab087da91732d9
Author: Efraim Flashner <address@hidden>
Date:   Thu Sep 5 19:00:51 2019 +0300

    gnu: Add rust-miow.
    
    * gnu/packages/crates-io.scm (rust-miow): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3246b0f..7b0cfd4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1529,6 +1529,33 @@ streaming API for miniz_oxide.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-miow
+  (package
+    (name "rust-miow")
+    (version "0.3.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "miow" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "09ljvx6wg30f2xlv7b7hhpkw7k312n3hjgmrbhwzhz9x03ra0sir"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-socket2" ,rust-socket2)
+        ("rust-winapi" ,rust-winapi))
+       #:cargo-development-inputs
+       (("rust-rand" ,rust-rand))))
+    (home-page "https://github.com/alexcrichton/miow";)
+    (synopsis "Rust I/O library for Windows")
+    (description
+     "This package provides a zero overhead I/O library for Windows, focusing 
on
+IOCP and Async I/O abstractions.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-modifier
   (package
     (name "rust-modifier")



reply via email to

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