[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")
- branch master updated (63dbcec93d -> 47d0346553), guix-commits, 2023/10/02
- 01/07: gnu: Add rust-enum-derive-0.1., guix-commits, 2023/10/02
- 05/07: gnu: Add rust-maybe-async-0.2.,
guix-commits <=
- 07/07: gnu: rust-rspotify: Update to 0.11.7., guix-commits, 2023/10/02
- 03/07: gnu: Add rust-rspotify-model-0.11., guix-commits, 2023/10/02
- 02/07: gnu: Add rust-enum-dispatch-0.3., guix-commits, 2023/10/02
- 06/07: gnu: Add rust-rspotify-http-0.11., guix-commits, 2023/10/02
- 04/07: gnu: Add rust-rspotify-macros-0.11., guix-commits, 2023/10/02