mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add go-github-com-gammazero-chanqueue.
* gnu/packages/golang-xyz.scm (go-github-com-gammazero-chanqueue): New variable. Change-Id: Id4952684410fe13a57db04d46ef9d160427def9c
This commit is contained in:
parent
8aec0d8f9c
commit
5b3e6263e7
1 changed files with 32 additions and 0 deletions
|
@ -3857,6 +3857,38 @@ submodules:
|
||||||
font files in your system's user and system font directories.")
|
font files in your system's user and system font directories.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-gammazero-chanqueue
|
||||||
|
(package
|
||||||
|
(name "go-github-com-gammazero-chanqueue")
|
||||||
|
(version "1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/gammazero/chanqueue")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0kji9blaqbphzrdr9b09c1lfm4vzj94m2ygwganw62byqg4hwy26"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/gammazero/chanqueue"))
|
||||||
|
(native-inputs
|
||||||
|
(list go-go-uber-org-goleak))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-github-com-gammazero-deque))
|
||||||
|
(home-page "https://github.com/gammazero/chanqueue")
|
||||||
|
(synopsis "Buffered channel with unlimited capacity queue")
|
||||||
|
(description
|
||||||
|
"Package chanqueue implements a queue that uses channels for input and
|
||||||
|
output to provide concurrent access to a re-sizable queue. This allows the
|
||||||
|
queue to be used like a channel. Closing the input channel closes the output
|
||||||
|
channel when all queued items are read, consistent with channel behavior. In
|
||||||
|
other words chanqueue is a dynamically buffered channel with up to infinite
|
||||||
|
capacity.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public go-github-com-gammazero-deque
|
(define-public go-github-com-gammazero-deque
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-gammazero-deque")
|
(name "go-github-com-gammazero-deque")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue