summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-19 20:41:08 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:12 +0100
commit8aec0d8f9cc76de86331b38810732b2a84e60788 (patch)
tree8cc5693ebdac69bc86b928fc2126399ec9dd75c8 /gnu/packages/golang-xyz.scm
parentd3031923245146adefe5a5816ce535d2c25f1bdd (diff)
gnu: Add go-github-com-gammazero-deque.
* gnu/packages/golang-xyz.scm (go-github-com-gammazero-deque): New variable. Change-Id: I5e7c2c69433f3285d84f8bbbe45ce3209584ff73
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index bc74106ca2..4cf77a86e9 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3857,6 +3857,35 @@ submodules:
font files in your system's user and system font directories.")
(license license:expat)))
+(define-public go-github-com-gammazero-deque
+ (package
+ (name "go-github-com-gammazero-deque")
+ (version "1.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/gammazero/deque")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "017xy7cw5yzmfjixwx5bglcxhg9gyyrqjilqzvq3mrh2760idp1a"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/gammazero/deque"))
+ (home-page "https://github.com/gammazero/deque")
+ (synopsis "Fast ring-buffer double-ended queue")
+ (description
+ "Package deque provides a fast ring-buffer deque (double-ended queue)
+implementation for Golang.
+
+It generalizes a queue and a stack, to efficiently add and remove items at
+either end with O(1) performance. Queue (FIFO) operations are supported using
+@code{PushBack} and @code{PopFront}. Stack (LIFO) operations are supported
+using @code{PushBack} and @code{PopBack}.")
+ (license license:expat)))
+
(define-public go-github-com-ghodss-yaml
(package
(name "go-github-com-ghodss-yaml")