summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 01:18:22 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:20 +0100
commit720bb2b03fcf20e0e1465ca89bda90f2e5af2238 (patch)
tree12f2f03e8a2b28ab5d26ae203d5df1c01b3edb08
parent3047a8b5b692aa07de38ec07d43e1ee0b7fb1887 (diff)
downloadguix-720bb2b03fcf20e0e1465ca89bda90f2e5af2238.tar.gz
gnu: Add rust-futures-lite-0.1.
* gnu/packages/crates-io.scm (rust-futures-lite-0.1): New variable.
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01bbfc15a4..d6e5dcb687 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11354,6 +11354,28 @@ magnitude faster, fixes minor warts in its API, fills in some obvious gaps,
 and removes almost all unsafe code from it.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-futures-lite-0.1
+  (package
+    (inherit rust-futures-lite-1)
+    (name "rust-futures-lite")
+    (version "0.1.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "futures-lite" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lnflz8ysp0vlq1sxzz1sw9cq7s33lh12cm9rc68z04v29q9k6cp"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-fastrand" ,rust-fastrand-1)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-futures-io" ,rust-futures-io-0.3)
+        ("rust-memchr" ,rust-memchr-2)
+        ("rust-parking" ,rust-parking-2)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.1)
+        ("rust-waker-fn" ,rust-waker-fn-1))))))
+
 (define-public rust-futures-macro-0.3
   (package
     (name "rust-futures-macro")