Subject: [PATCH 04/10] gnu: Add rust-async-broadcast-0.6.

From: Tomas Volf <[email-masked]>
Date: Sun, 3 Mar 2024 17:46:28 +0100

* gnu/packages/crates-io.scm (rust-async-broadcast-0.6): New variable.

Change-Id: I942490385b625fa6f0cdec6f2c3262b84f06b76b
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f453ed50d9..465b7c9bd1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3909,6 +3909,28 @@ (define-public rust-async-attributes-1
 Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-broadcast-0.6
+  (package
+    (name "rust-async-broadcast")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-broadcast" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0d1xk2pr5khk1radkbaf7pp7pbjkb18m43n2rgkfsfxk177pak9k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-event-listener" ,rust-event-listener-3)
+                       ("rust-event-listener-strategy" ,rust-event-listener-strategy-0.1)
+                       ("rust-futures-core" ,rust-futures-core-0.3))))
+    (home-page "https://github.com/smol-rs/async-broadcast")
+    (synopsis "Async broadcast channels")
+    (description "This package provides async broadcast channels in Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-async-broadcast-0.5
   (package
     (name "rust-async-broadcast")
-- 
2.41.0