summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 12:04:15 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:45 +0100
commit57fd1ec688a6e3c467a82aced1ba8b546c35f3ea (patch)
tree5921b4e797db4ab3fb64f9ce12ad483604ed4410 /gnu
parentf33a7b511db77d64820d66217c6a1beeeb6ab864 (diff)
downloadguix-57fd1ec688a6e3c467a82aced1ba8b546c35f3ea.tar.gz
gnu: Add rust-romio-0.3.
* gnu/packages/crates-io.scm (rust-romio-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0c1e5ddd8e..24adf09f36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29345,6 +29345,40 @@ MessagePack format.")
     (description "This crate provides Serde bindings for RMP.")
     (license license:expat)))
 
+(define-public rust-romio-0.3
+  (package
+    (name "rust-romio")
+    (version "0.3.0-alpha.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "romio" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0arxxgdp7j2y1nxd0a94qmkspyv92hyaz8lbirvf77f6qm0298vb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-async-datagram" ,rust-async-datagram-3)
+        ("rust-async-ready" ,rust-async-ready-3)
+        ("rust-crossbeam-utils" ,rust-crossbeam-utils-0.6)
+        ("rust-futures-preview" ,rust-futures-preview-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-mio" ,rust-mio-0.6)
+        ("rust-mio-uds" ,rust-mio-uds-0.6)
+        ("rust-num-cpus" ,rust-num-cpus-1)
+        ("rust-parking-lot" ,rust-parking-lot-0.9)
+        ("rust-slab" ,rust-slab-0.4))))
+    (home-page "https://github.com/withoutboats/romio")
+    (synopsis "Asynchronous networking primitives")
+    (description
+     "This package provides event loop and I/O resources for asynchronous
+network services using futures.")
+    (license license:expat)))
+
 (define-public rust-ron-0.5
   (package
     (name "rust-ron")