gnu: Add go-github-com-outcaste-io-ristretto.

* gnu/packages/golang-xyz.scm (go-github-com-outcaste-io-ristretto): New variable.

Change-Id: Ia4bd1416b9c4da98d214668a03fc93f91ff7bad9
This commit is contained in:
Sharlatan Hellseher 2025-01-06 21:51:22 +00:00
parent 8a1b68c029
commit fa4cd98e6b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -10530,6 +10530,40 @@ (define-public go-github-com-otiai10-copy
"This package implments recursive copy functinoality for directory.")
(license license:expat)))
(define-public go-github-com-outcaste-io-ristretto
(package
(name "go-github-com-outcaste-io-ristretto")
(version "0.2.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/outcaste-io/ristretto")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07ndjrblmj9b3ghn10h040zvzf2i3mlzvfziklcqdkhxbr1hf1rq"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/outcaste-io/ristretto"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-cespare-xxhash-v2
go-github-com-dgryski-go-farm
go-github-com-dustin-go-humanize
go-github-com-pkg-errors
go-go-uber-org-atomic
go-golang-org-x-sys))
(home-page "https://github.com/outcaste-io/ristretto")
(synopsis "Memory-bound Go cache")
(description
"Ristretto is a fast, fixed size, in-memory cache with a dual focus on
throughput and hit ratio performance. It's a fork of
@code{dgraph-io/ristretto} project.")
(license license:asl2.0)))
(define-public go-github-com-pbnjay-memory
(let ((commit "7b4eea64cf580186c0eceb10dc94ba3a098af46c")
(revision "2"))