sharlatan pushed a commit to branch go-team
in repository guix.

commit da24e10a1ab188114d140ca9906a785a6f03c6cb
Author: Sharlatan Hellseher <sharlata...@gmail.com>
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 d65707c7ae..baef80c40a 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")

Reply via email to