summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-07 15:47:10 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 20:13:02 +0100
commit78397b81aca295019865cec3bc1203d9cd4cd95e (patch)
tree2ba9f05b01cccf8ac43c4d67aa3d0c1bb031302e /gnu/packages/golang-xyz.scm
parent5e1d583e1f5004216076aa5176379bcd177588e7 (diff)
gnu: Add go-github-com-eapache-queue.
* gnu/packages/golang-xyz.scm (go-github-com-eapache-queue): New variable. Change-Id: I143c237bdee20e9284e89b75266536ba934b3799
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 25c351e0e3..7112c684be 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -5510,6 +5510,33 @@ Implements string conversion functionality for unit prefixes.
sizes. It converts boring ugly numbers to human-friendly strings and back.")
(license license:expat)))
+(define-public go-github-com-eapache-queue
+ (package
+ (name "go-github-com-eapache-queue")
+ (version "1.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eapache/queue")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07dp54n94gn3gsvdcki56yqh7py7wqqigxbamhxwgbr05n61fqyg"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/eapache/queue"))
+ (home-page "https://github.com/eapache/queue")
+ (synopsis "Fast golang queue using ring-buffer")
+ (description
+ "Package queue provides a fast, ring-buffer queue based on the version
+suggested by Dariusz Górecki. Using this instead of other, simpler, queue
+implementations
+(slice+append or linked list) provides substantial memory and time benefits, and
+fewer GC pauses.")
+ (license license:expat)))
+
(define-public go-github-com-edsrzf-mmap-go
(package
(name "go-github-com-edsrzf-mmap-go")