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

commit 4d32bcabad884ff4f81e24fd3f57fd0a7b65da7b
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed May 28 23:11:10 2025 +0100

    gnu: Add go-github-com-cockroachdb-swiss.
    
    * gnu/packages/golang-xyz.scm (go-github-com-cockroachdb-swiss): New 
variable.
    
    Change-Id: Ia4bbad3c2681a4d57c4511a5d4a0bcf050b309a5
---
 gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 5f819f6df6..f1055f4b5b 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3536,6 +3536,37 @@ queueing and rate limiting.")
 @code{unsafe} pieces of data when logging and constructing error object.")
     (license license:asl2.0)))
 
+(define-public go-github-com-cockroachdb-swiss
+  (package
+    (name "go-github-com-cockroachdb-swiss")
+    (version "0.0.0-20250327203710-2932b022f6df")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cockroachdb/swiss";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1v902vdngjqabqz6brkrsa26sb5x0xwa2b3986jy8ih6z7x44ib5"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/cockroachdb/swiss"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-github-com-aclements-go-perfevent))
+    (home-page "https://github.com/cockroachdb/swiss";)
+    (synopsis "Golang port of Google's Swiss Table hash table")
+    (description
+     "This package implements Swiss Tables as described in
+https://abseil.io/about/design/swisstables. It provides pseudo-randomized
+iteration (iteration order will change from one iteration to the next) and
+iteration stability akin to Go's builtin map if the map is mutated during
+iteration.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-cockroachdb-tokenbucket
   (package
     (name "go-github-com-cockroachdb-tokenbucket")

Reply via email to