guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/27: gnu: Add rust-async-macros-1.


From: guix-commits
Subject: 11/27: gnu: Add rust-async-macros-1.
Date: Sun, 3 Jan 2021 16:08:53 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit fa660cfbeaebe9bb1d3daf968f4008f83e874456
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Dec 20 00:59:53 2020 +0100

    gnu: Add rust-async-macros-1.
    
    * gnu/packages/crates-io.scm (rust-async-macros-1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e643c4e..e043ba3 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]