aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-02 20:14:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:22 +0300
commitf5b11523d65adf21a01d0ca0b68298159a6cc954 (patch)
treeaecbcdf983692aca488ac174f6a5f697d715a558 /gnu/packages/crates-io.scm
parenteb97062005d6559994d4df1b443e0d89b576734a (diff)
downloadguix-f5b11523d65adf21a01d0ca0b68298159a6cc954.tar.gz
guix-f5b11523d65adf21a01d0ca0b68298159a6cc954.zip
gnu: Add rust-async-recursion-1.
* gnu/packages/crates-io.scm (rust-async-recursion-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5e7a2d6933..0a95fda1db 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5244,6 +5244,32 @@ implementing async state machines that can later be wrapped in dedicated
futures.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-recursion-1
+ (package
+ (name "rust-async-recursion")
+ (version "1.0.4")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "async-recursion" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1fhwz7jqgsakbjsr2nrsvgs245l1m5dkzir6f9fxw4ngwrywx5qf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; TODO: Tests unexpectedly pass.
+ #:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/dcchut/async-recursion")
+ (synopsis "Recursion for async functions")
+ (description "This package provides recursion for async functions in Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-std-1
(package
(name "rust-async-std")