aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-20 00:59:53 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:32 +0100
commitfa660cfbeaebe9bb1d3daf968f4008f83e874456 (patch)
treeaec89cafdd4b9b90c4982a69834e83311e78e7ee /gnu/packages
parente8cef787589119492668d9709c5eb9ec6c91bb07 (diff)
downloadguix-fa660cfbeaebe9bb1d3daf968f4008f83e874456.tar.gz
guix-fa660cfbeaebe9bb1d3daf968f4008f83e874456.zip
gnu: Add rust-async-macros-1.
* gnu/packages/crates-io.scm (rust-async-macros-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e643c4e8fe..e043ba3d4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1269,6 +1269,30 @@ asynchronous logging.")
crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-async-macros-1
+ (package
+ (name "rust-async-macros")
+ (version "1.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "async-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1fib4wxiym9f045xqb8a2gyfa8yym3hb62g4jqjfmzn14jdxa8g4"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #false
+ #:cargo-inputs
+ (("rust-futures-core-preview" ,rust-futures-core-preview-0.3)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs
+ (("rust-futures-preview" ,rust-futures-preview-0.3))))
+ (home-page "https://github.com/async-rs/async-macros")
+ (synopsis "Macros for async-std")
+ (description "Macros for async-std.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-async-stream-0.3
(package
(name "rust-async-stream")