guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: Add rust-maybe-async-0.2.


From: guix-commits
Subject: 05/07: gnu: Add rust-maybe-async-0.2.
Date: Mon, 2 Oct 2023 04:41:34 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit a7152f722fdc90345172343bc62f5e596a06e67c
Author: Steve George <steve@futurile.net>
AuthorDate: Fri Jun 23 17:56:49 2023 +0100

    gnu: Add rust-maybe-async-0.2.
    
    * gnu/packages/crates-io.scm (rust-maybe-async-0.2): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7d2bd5d984..a175c797da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37608,6 +37608,34 @@ parallelize and optimize.")
      `(#:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1))
        #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))))
 
+(define-public rust-maybe-async-0.2
+  (package
+    (name "rust-maybe-async")
+    (version "0.2.7")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "maybe-async" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "01gksgxmzgl8hvg831vv993fvrwz8hjwgcln99ilp08zrc9qq6qg"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs
+           `(("rust-proc-macro2" ,rust-proc-macro2-1)
+             ("rust-quote" ,rust-quote-1)
+             ("rust-syn" ,rust-syn-1)
+             ("rust-async-std" ,rust-async-std-1)
+             ("rust-async-trait" ,rust-async-trait-0.1)
+             ("rust-tokio" ,rust-tokio-1)
+             ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/fMeow/maybe-async-rs";)
+    (synopsis "Procedural macro to unify sync and async Rust code")
+    (description
+     "This package provides a procedural macro that unifies sync and
+async code in Rust.")
+    (license license:expat)))
+
 (define-public rust-maybe-rayon-0.1
   (package
     (name "rust-maybe-rayon")



reply via email to

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