unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 64248@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>, efraim@flashner.co.il
Subject: [bug#64248] [PATCH 6/8] gnu: Add rust-maybe-async.
Date: Fri, 23 Jun 2023 17:56:49 +0100	[thread overview]
Message-ID: <4a582cff988297943495611567d7cce9f502080f.1687539092.git.steve@futurile.net> (raw)
In-Reply-To: <50613bf2-90f6-c885-28a9-6eca1d487a07@futurile.net>

* gnu/packages/crates-io.scm (rust-maybe-async): New variable.
---
 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 5bf615fb95..41646c69c6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36214,6 +36214,34 @@ (define-public rust-matrixmultiply-0.1
      `(#: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 #:skip-build? #f
+           #: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")
-- 
2.40.1





  parent reply	other threads:[~2023-06-23 16:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-23 10:52 [bug#64248] Series to update to rust-rspotify-0.11 Steve George
2023-06-23 16:56 ` [bug#64248] [PATCH 1/8] gnu: rust-strum: Update to 0.24.1 Steve George
2023-06-23 16:56 ` [bug#64248] [PATCH 2/8] gnu: Add rust-enum-derive Steve George
2023-06-23 16:56 ` [bug#64248] [PATCH 3/8] gnu: Add rust-enum-dispatch Steve George
2023-06-23 16:56 ` [bug#64248] [PATCH 4/8] gnu: Add rust-rspotify-model Steve George
2023-06-23 16:56 ` [bug#64248] [PATCH 5/8] gnu: Add rust-rspotify-macros Steve George
2023-06-23 16:56 ` Steve George [this message]
2023-06-23 16:56 ` [bug#64248] [PATCH 7/8] gnu: Add rust-rspotify-http Steve George
2023-06-23 16:56 ` [bug#64248] [PATCH 8/8] gnu: rust-rspotify: Update to 0.11.7 Steve George
2023-10-02  8:42 ` bug#64248: Series to update to rust-rspotify-0.11 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4a582cff988297943495611567d7cce9f502080f.1687539092.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=64248@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).