gnu: Add rust-async-priority-channel-0.1.

* gnu/packages/crates-io.scm (rust-async-priority-channel-0.1): New variable.

Change-Id: If84476c9eecb7de7530206dedfb3d5efe469ca78
This commit is contained in:
Efraim Flashner 2024-03-28 11:07:35 +02:00
parent b39b70df89
commit f2cfc8a249
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -5312,6 +5312,29 @@ (define-public rust-async-pidfd-0.1
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")