sharlatan pushed a commit to branch go-team
in repository guix.
commit a69c6dd08f47ff45331535f629482e71ded35c3a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Feb 19 20:41:08 2025 +0000
gnu: Add go-github-com-gammazero-deque.
* gnu/packages/golang-xyz.scm (go-github-com-gammazero-deque): New variable.
Change-Id: I5e7c2c69433f3285d84f8bbbe45ce3209584ff73
---
gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 57975523d4..b16c08544e 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3854,6 +3854,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")