From d743ff99069fc7c1bfdbc79c0d980fd178a361c9 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 7 Feb 2025 09:47:19 +0000 Subject: [PATCH] gnu: Add go-github-com-dgraph-io-ristretto-v2. * gnu/packages/golang-xyz.scm (go-github-com-dgraph-io-ristretto-v2): New variable. Change-Id: I77ba7c6210906ebb6f36eadc24f6afd531315721 --- gnu/packages/golang-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 22478211b8159965b496878043550323ca2adc3a..2ff1093cb40ec9a4b8e2ec442ca777cb85ec158d 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -4145,6 +4145,25 @@ supports concurrent serializable transactions.") on throughput and hit ratio performance.") (license (list license:asl2.0 license:expat)))) +(define-public go-github-com-dgraph-io-ristretto-v2 + (package + (inherit go-github-com-dgraph-io-ristretto) + (name "go-github-com-dgraph-io-ristretto-v2") + (version "2.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dgraph-io/ristretto") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1q65y9psk8vnrsjlmaqhc8l3fwpsh23wrr4cjz8jfnph45hhh4jk")))) + (arguments + (substitute-keyword-arguments + (package-arguments go-github-com-dgraph-io-ristretto) + ((#:import-path _) "github.com/dgraph-io/ristretto/v2"))))) + (define-public go-github-com-dgryski-go-linebreak (package (name "go-github-com-dgryski-go-linebreak")