summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:58:23 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:42 +0100
commitc7f6affa47d3ddf55343feb436775e8f8a1b1bfd (patch)
treea33151dd8bdf509e365fef4ad7a7cab609f0b706 /gnu
parentf04feceab6f11054889cc57c4f7e22778ade3bb3 (diff)
downloadguix-c7f6affa47d3ddf55343feb436775e8f8a1b1bfd.tar.gz
gnu: Add rust-async-recursion-0.3.
* gnu/packages/crates-io.scm (rust-async-recursion-0.3): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7eb4498412..99ca0685b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2900,6 +2900,31 @@ implementing async state machines that can later be wrapped in dedicated
 futures.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-recursion-0.3
+  (package
+    (name "rust-async-recursion")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-recursion" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18npixkwglnpvjgp89fpcyzf820ngx3a1hxp4hqbkw81p9b8dmyp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/dcchut/async-recursion")
+    (synopsis "Recursion for async functions")
+    (description
+     "This package provides a procedural macro for recursive async
+functions.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-async-std-1
   (package
     (name "rust-async-std")