sharlatan pushed a commit to branch go-team
in repository guix.

commit 9e4fc0f10035723e20736d416eadc23094d8a1aa
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Wed Feb 19 21:05:17 2025 +0000

    gnu: Add go-github-com-petar-gollrb.
    
    * gnu/packages/golang-xyz.scm (go-github-com-petar-gollrb): New variable.
    
    Change-Id: I41838a3f35e9259f394b5bf1b12054d6d4386e1f
---
 gnu/packages/golang-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 21bcb97035..a9cc540acd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -13076,6 +13076,37 @@ package (which is based off an earlier version of this 
package).")
      (list go-github-com-stretchr-testify))
     (propagated-inputs '())))
 
+(define-public go-github-com-petar-gollrb
+  (package
+    (name "go-github-com-petar-gollrb")
+    (version "0.0.0-20210522233825-ae3b015fd3e9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/petar/GoLLRB";)
+             (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0k50v8jk7pfwpghmpyr9gk8kpcxns0d8kw113z9wjcr0x8gnyj0n"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:skip-build? #t
+      #:import-path "github.com/petar/GoLLRB"
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'remove-examples
+            (lambda* (#:key tests? import-path #:allow-other-keys)
+              (with-directory-excursion (string-append "src/" import-path)
+                (delete-file-recursively "example")))))))
+    (home-page "https://github.com/petar/GoLLRB";)
+    (synopsis "LLRB implementation of balanced binary search trees for Golang")
+    (description
+     "@code{GoLLRB} is a Left-Leaning Red-Black (LLRB) implementation of 2-3
+balanced binary search trees in Go Language.")
+    (license license:bsd-3)))
+
 (define-public go-github-com-peterbourgon-diskv
   (package
     (name "go-github-com-peterbourgon-diskv")

Reply via email to