summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 18:49:22 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:22 -0500
commitd50b209810b41be158e23e8e1528ac876e4f8080 (patch)
tree3881268339bae7d20b4c2e6b5e3ecfb685e46719 /gnu
parent53b6cd64076bacc8c8fb9e6becac28c6bfea7c51 (diff)
downloadguix-d50b209810b41be158e23e8e1528ac876e4f8080.tar.gz
gnu: Add rust-nb-0.1.
* gnu/packages/crates-io.scm (rust-nb-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cc616d2a71..3e661e54bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32043,6 +32043,23 @@ implementation.")
     (description "This package provides a minimal non-blocking I/O layer.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nb-0.1
+  (package
+    (inherit rust-nb-1)
+    (name "rust-nb")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nb" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vyh31pbwrg21f8hz1ipb9i20qwnfwx47gz92i9frdhk0pd327c0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-nb" ,rust-nb-1))))))
+
 (define-public rust-nb-connect-1
   (package
     (name "rust-nb-connect")