~ruther/guix-local

86a4ee9f834723cdd45deddfa5a04091a9d2309d — Sharlatan Hellseher 11 months ago 3308158
gnu: Add go-github-com-cockroachdb-swiss.

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

Change-Id: Ia4bbad3c2681a4d57c4511a5d4a0bcf050b309a5
1 files changed, 31 insertions(+), 0 deletions(-)

M gnu/packages/golang-xyz.scm
M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +31 -0
@@ 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")