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:
Sharlatan Hellseher 2025-02-19 20:45:13 +00:00
parent 8aec0d8f9c
commit 5b3e6263e7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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")