[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68819] [PATCH 29/49] gnu: Add rust-async-channel-2.
From: |
Herman Rimm |
Subject: |
[bug#68819] [PATCH 29/49] gnu: Add rust-async-channel-2. |
Date: |
Tue, 30 Jan 2024 16:25:12 +0100 |
* 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
- [bug#68819] [PATCH 16/49] gnu: Add rust-signal-hook-tokio-0.3., (continued)
- [bug#68819] [PATCH 16/49] gnu: Add rust-signal-hook-tokio-0.3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 17/49] gnu: rust-swayipc-types-1: Update to 1.3.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 19/49] gnu: rust-parking-2: Update to 2.2.0., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 15/49] gnu: Add rust-sensors-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 13/49] gnu: Add rust-maildir-0.6., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 26/49] gnu: Add rust-wayrs-protocols-0.13., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 28/49] gnu: Add rust-event-listener-strategy-0.4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 31/49] gnu: Add rust-async-io-2 and rust-async-net-2 cyclical dependency., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 25/49] gnu: Add rust-wayrs-client-1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 21/49] gnu: Add rust-swayipc-async-2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 29/49] gnu: Add rust-async-channel-2.,
Herman Rimm <=
- [bug#68819] [PATCH 23/49] gnu: Add rust-wayrs-proto-parser-2, Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 35/49] gnu: Add rust-event-listener-3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 22/49] gnu: Add rust-proc-macro-crate-3., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 37/49] gnu: rust-async-fs-1: Update to 1.6.0., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 48/49] gnu: Remove rust-buffering-nocopy-macro-0.1., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 32/49] gnu: Add rust-ordered-stream-0.2., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 39/49] gnu: Add rust-pandoc-0.8., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 42/49] gnu: Remove rust-neli-0.4., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 44/49] gnu: Remove rust-cpuprofiler-0.0., Herman Rimm, 2024/01/30
- [bug#68819] [PATCH 45/49] gnu: Remove rust-progress-0.2., Herman Rimm, 2024/01/30