summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 18:49:22 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-27 19:53:05 +0100
commitf2c1d65a887381d47230450c18bba49b304eb102 (patch)
tree92e19a30fdf8a324117789bb0cb70448d7b6c8c7
parente451061dd4f2d47f760f82c580d5269567ed3315 (diff)
downloadguix-f2c1d65a887381d47230450c18bba49b304eb102.tar.gz
gnu: Add rust-nb-0.1.
* gnu/packages/crates-io.scm (rust-nb-0.1): New variable.
-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")