From 3266712050303d3e8316c52a141229ee7a821de9 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 21 Oct 2025 15:28:58 +0100 Subject: [PATCH] gnu: Add go-github-com-tchap-go-patricia-v2. * gnu/packages/golang-xyz.scm (go-github-com-tchap-go-patricia-v2): New variable. Change-Id: Ia85c11cfe47d17e9867d0325c81a0142a852bf2f Reviewed-by: Arthur Rodrigues --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 820647cfdf33494e1cccd23a788a3661f58a715a..a2310670e5d5f5e0de506b3af69aa3532512d9d5 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -20092,6 +20092,34 @@ storage system.") @url{https://en.wikipedia.org/wiki/Bloom_filter, bloom filter}.") (license license:bsd-2))) +(define-public go-github-com-tchap-go-patricia-v2 + (package + (name "go-github-com-tchap-go-patricia-v2") + (version "2.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tchap/go-patricia") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a6scgr6474654mvhg26sj0xl1q6js0q9q4wrzs79ivj07ap4278")))) + (build-system go-build-system) + (arguments + (list + #:skip-build? #t + ;; patricia_dense_test.go:279: Heap space leak, grew 20632 bytes (256488 + ;; to 277120) + #:test-flags #~(list "-skip" "TestTrie_DeleteLeakageDense") + #:import-path "github.com/tchap/go-patricia/v2")) + (home-page "https://github.com/tchap/go-patricia") + (synopsis "Generic patricia trie (radix tree) implemented in Golang") + (description + "This package implements a generic patricia trie (also called +@url{https://en.wikipedia.org/wiki/Radix_tree, radix tree}).") + (license license:expat))) + (define-public go-github-com-tdewolff-argp (package (name "go-github-com-tdewolff-argp")