diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-02-19 20:45:13 +0000 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-05-26 16:50:13 +0100 |
commit | 5b3e6263e767b93e282fc8b62b362a02e8606e2b (patch) | |
tree | 44acbae1cc5a52754c9172182ab49174368edc6b /gnu/packages/golang-xyz.scm | |
parent | 8aec0d8f9cc76de86331b38810732b2a84e60788 (diff) |
gnu: Add go-github-com-gammazero-chanqueue.
* gnu/packages/golang-xyz.scm (go-github-com-gammazero-chanqueue): New variable.
Change-Id: Id4952684410fe13a57db04d46ef9d160427def9c
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r-- | gnu/packages/golang-xyz.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 4cf77a86e9..7a46dd2b60 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -3857,6 +3857,38 @@ submodules: font files in your system's user and system font directories.") (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 (package (name "go-github-com-gammazero-deque") |