summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-21 01:26:11 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-04 19:29:21 +0100
commit6cb091d9aeb30cfede29f698452f98f01107f1d3 (patch)
treed93abc9559b7fd60f481b2ed66c5c4966f75bb8d /gnu/packages/crates-io.scm
parent9e17c5aed8b02c7709180d7ecac985a13be50b88 (diff)
downloadguix-6cb091d9aeb30cfede29f698452f98f01107f1d3.tar.gz
gnu: Add rust-async-task-3.
* gnu/packages/crates-io.scm (rust-async-task-3): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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 0986fd19bb..d35b5edffe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1645,6 +1645,23 @@ crate.")
      "This package provides a task abstraction for building executors.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-async-task-3
+  (package
+    (inherit rust-async-task-4)
+    (name "rust-async-task")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-task" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lrm7cm9dpashmkbqa8mvglbf85gadviqil7qnnrm0pjdqap4xy1"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-crossbeam" ,rust-crossbeam-0.7)
+        ("rust-futures" ,rust-futures-0.3))))))
+
 (define-public rust-async-task-1
   (package
     (inherit rust-async-task-4)