gnu: Add go-github-com-cockroachdb-swiss.

* gnu/packages/golang-xyz.scm (go-github-com-cockroachdb-swiss): New variable.

Change-Id: Ia4bbad3c2681a4d57c4511a5d4a0bcf050b309a5
This commit is contained in:
Sharlatan Hellseher 2025-05-28 23:11:10 +01:00
parent 3308158be9
commit 86a4ee9f83
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3853,6 +3853,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")