guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

51/61: gnu: Add rust-async-priority-channel-0.1.


From: guix-commits
Subject: 51/61: gnu: Add rust-async-priority-channel-0.1.
Date: Thu, 28 Mar 2024 12:01:11 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9d0074a5be755fce8e7a24963ac36fdc349a20a2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 28 11:07:35 2024 +0200

    gnu: Add rust-async-priority-channel-0.1.
    
    * gnu/packages/crates-io.scm (rust-async-priority-channel-0.1): New 
variable.
    
    Change-Id: If84476c9eecb7de7530206dedfb3d5efe469ca78
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9034e0d54..9c9aed8d50 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5291,6 +5291,29 @@ managing processes both synchronously (via the PidFd 
type) and
 asynchronously (via the AsyncPidFd type).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-async-priority-channel-0.1
+  (package
+    (name "rust-async-priority-channel")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-priority-channel" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0h36m0avgs86pgh286xkvbnhdhb8bxgsnlxwwazvw88v5scph5n2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-event-listener" ,rust-event-listener-2))
+       #:cargo-development-inputs (("rust-futures-lite" ,rust-futures-lite-1)
+                                   ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/rmcgibbo/async-priority-channel";)
+    (synopsis "Async channel with message delivery by priority")
+    (description
+     "This package provides an async channel where pending messages are
+delivered in order of priority.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-async-process-1
   (package
     (name "rust-async-process")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]