summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 18:48:08 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:22 -0500
commit53b6cd64076bacc8c8fb9e6becac28c6bfea7c51 (patch)
tree7e79cd12c22cf79a3124e4bfd21ab868ac9ce90f /gnu
parente1b753f5cbe755c867b614fbc9e13bc8f4524881 (diff)
downloadguix-53b6cd64076bacc8c8fb9e6becac28c6bfea7c51.tar.gz
gnu: Add rust-nb-1.
* gnu/packages/crates-io.scm (rust-nb-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3cf036860f..cc616d2a71 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32025,6 +32025,24 @@ implementation.")
      "This package provides a crate to perform natural ordering for Rust.")
     (license license:expat)))
 
+(define-public rust-nb-1
+  (package
+    (name "rust-nb")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1blc9143cqh3cn2imr050qczbnfrfdl10xxnfdggamlybnn3fv2l"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/rust-embedded/nb")
+    (synopsis "Minimal non-blocking I/O layer")
+    (description "This package provides a minimal non-blocking I/O layer.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-nb-connect-1
   (package
     (name "rust-nb-connect")