all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Herman Rimm via Guix-patches via <guix-patches@gnu.org>
To: 68819@debbugs.gnu.org
Cc: Herman Rimm <herman@rimm.ee>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#68819] [PATCH 29/49] gnu: Add rust-async-channel-2.
Date: Tue, 30 Jan 2024 16:25:12 +0100	[thread overview]
Message-ID: <4cfce626ebc4fba2217bec3f41fddc4e02c7f9b0.1706619963.git.herman@rimm.ee> (raw)
In-Reply-To: <cover.1706619961.git.herman@rimm.ee>

* gnu/packages/crates-io.scm (rust-async-channel-2): Add variable.
(rust-async-channel-1): Inherit from rust-async-channel-2.

Change-Id: Ia5d651b12caca610e20ff9bde4cec1050f88c52d
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bfa8f3b2dc..b78b040fdf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3420,8 +3420,38 @@ (define-public rust-async-broadcast-0.5
     (description "This package provides async broadcast channels in Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-channel-2
+  (package
+    (name "rust-async-channel")
+    (version "2.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-channel" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1337ywc1paw03rdlwh100kh8pa0zyp0nrlya8bpsn6zdqi5kz8qw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-concurrent-queue" ,rust-concurrent-queue-2)
+        ("rust-event-listener" ,rust-event-listener-4)
+        ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.4)
+        ("rust-futures-core" ,rust-futures-core-0.3)
+        ("rust-pin-project-lite" ,rust-pin-project-lite-0.2))
+       #:cargo-development-inputs
+       (("rust-easy-parallel" ,rust-easy-parallel-3)
+        ("rust-futures-lite" ,rust-futures-lite-2)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
+    (home-page "https://github.com/smol-rs/async-channel")
+    (synopsis "Async multi-producer multi-consumer channel")
+    (description "This package provides async multi-producer
+multi-consumer channels.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-async-channel-1
   (package
+    (inherit rust-async-channel-2)
     (name "rust-async-channel")
     (version "1.9.0")
     (source
@@ -3431,7 +3461,6 @@ (define-public rust-async-channel-1
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0dbdlkzlncbibd3ij6y6jmvjd0cmdn48ydcfdpfhw09njd93r5c1"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-concurrent-queue" ,rust-concurrent-queue-2)
@@ -3439,12 +3468,7 @@ (define-public rust-async-channel-1
         ("rust-futures-core" ,rust-futures-core-0.3))
        #:cargo-development-inputs
        (("rust-easy-parallel" ,rust-easy-parallel-3)
-        ("rust-futures-lite" ,rust-futures-lite-1))))
-    (home-page "https://github.com/smol-rs/async-channel")
-    (synopsis "Async multi-producer multi-consumer channel")
-    (description
-     "Async multi-producer multi-consumer channel")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-futures-lite" ,rust-futures-lite-1))))))
 
 (define-public rust-async-compression-0.4
   (package
-- 
2.41.0





  parent reply	other threads:[~2024-01-30 15:28 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-30 15:03 [bug#68819] [PATCH 00/49 rust-team] Update i3status-rust to 0.32.3 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 01/49] gnu: Add rust-async-once-cell-0.5 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 02/49] gnu: Add rust-backon-0.4 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 03/49] gnu: Add rust-calibright-0.1 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 04/49] gnu: Add rust-neli-proc-macros-0.1 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 05/49] gnu: Add rust-neli-0.6 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 06/49] gnu: Add rust-neli-wifi-0.6 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 07/49] gnu: Add rust-chrono-tz-build-0.2 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 08/49] gnu: Replace rust-chrono-tz-0.6 with rust-chrono-tz-0.8 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 09/49] gnu: Add rust-from-variants-impl-0.6 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 10/49] gnu: Add rust-from-variants-0.6 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 11/49] gnu: Add rust-notmuch-0.8 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 12/49] gnu: rust-gethostname-0.2: Update to 0.2.3 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 13/49] gnu: Add rust-maildir-0.6 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 14/49] gnu: Add rust-libsensors-sys-0.2 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 15/49] gnu: Add rust-sensors-0.2 Herman Rimm via Guix-patches via
2024-01-30 15:24 ` [bug#68819] [PATCH 16/49] gnu: Add rust-signal-hook-tokio-0.3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 17/49] gnu: rust-swayipc-types-1: Update to 1.3.1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 18/49] gnu: Add rust-async-pidfd-0.1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 19/49] gnu: rust-parking-2: Update to 2.2.0 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 20/49] gnu: Add rust-futures-lite-2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 21/49] gnu: Add rust-swayipc-async-2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 22/49] gnu: Add rust-proc-macro-crate-3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 23/49] gnu: Add rust-wayrs-proto-parser-2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 24/49] gnu: Add rust-wayrs-scanner-0.13 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 25/49] gnu: Add rust-wayrs-client-1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 26/49] gnu: Add rust-wayrs-protocols-0.13 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 27/49] gnu: Add rust-event-listener-4 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 28/49] gnu: Add rust-event-listener-strategy-0.4 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` Herman Rimm via Guix-patches via [this message]
2024-01-30 15:25 ` [bug#68819] [PATCH 30/49] gnu: Add rust-async-lock-3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 31/49] gnu: Add rust-async-io-2 and rust-async-net-2 cyclical dependency Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 32/49] gnu: Add rust-ordered-stream-0.2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 33/49] gnu: Add rust-xdg-home-1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 34/49] gnu: Add rust-async-signal-0.2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 35/49] gnu: Add rust-event-listener-3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 36/49] gnu: rust-async-process-1: Update to 1.8.1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 37/49] gnu: rust-async-fs-1: Update to 1.6.0 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 38/49] gnu: rust-zbus-3: Update to 3.14.1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 39/49] gnu: Add rust-pandoc-0.8 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 40/49] gnu: i3status-rust: Update to 0.32.3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 41/49] gnu: Deprecate rust-nl80211-0.0.2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 42/49] gnu: Remove rust-neli-0.4 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 43/49] gnu: Remove rust-notmuch-0.6 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 44/49] gnu: Remove rust-cpuprofiler-0.0 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 45/49] gnu: Remove rust-progress-0.2 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 46/49] gnu: Remove rust-buffering-0.3 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 47/49] gnu: Remove rust-supercow-0.1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 48/49] gnu: Remove rust-buffering-nocopy-macro-0.1 Herman Rimm via Guix-patches via
2024-01-30 15:25 ` [bug#68819] [PATCH 49/49] gnu: Remove rust-ordered-stream-0.1 Herman Rimm via Guix-patches via
2024-01-30 16:14 ` [bug#68819] [PATCH 00/49 rust-team] Update i3status-rust to 0.32.3 Herman Rimm via Guix-patches via
2024-02-12 12:44 ` bug#68819: " 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

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

  git send-email \
    --in-reply-to=4cfce626ebc4fba2217bec3f41fddc4e02c7f9b0.1706619963.git.herman@rimm.ee \
    --to=guix-patches@gnu.org \
    --cc=68819@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=herman@rimm.ee \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.