guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

74/169: gnu: go-github-com-google-btree: Move to golang-build.


From: guix-commits
Subject: 74/169: gnu: go-github-com-google-btree: Move to golang-build.
Date: Thu, 26 Sep 2024 06:42:52 -0400 (EDT)

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

commit 783bbf364d344cd22b5dcea3bdd1fa33c1b6100b
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Sep 13 12:00:39 2024 +0100

    gnu: go-github-com-google-btree: Move to golang-build.
    
    * gnu/packages/golang.scm (go-github-com-google-btree): Move from here ...
    * gnu/packages/golang-build.scm: ... to here.
    
    Change-Id: I91c659b9031291a4e6c43b024dedaa1bfcb7cea3
---
 gnu/packages/golang-build.scm | 24 ++++++++++++++++++++++++
 gnu/packages/golang.scm       | 23 -----------------------
 2 files changed, 24 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index c7bed8133f..8fdd652b63 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -140,6 +140,30 @@ functions that have a name matched by regex:.")
 serialization format.")
     (license license:bsd-3)))
 
+(define-public go-github-com-google-btree
+  (package
+    (name "go-github-com-google-btree")
+    (version "1.1.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/google/btree";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1k3jfj24sp4qk494wxj055vf5fjwskiydscy4a42s5jiwgcjr9gz"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/google/btree"))
+    (home-page "https://github.com/google/btree";)
+    (synopsis "Simple, ordered, in-memory data structure for Go programs")
+    (description
+     "This package provides an in-memory B-Tree implementation for Go, useful
+as an ordered, mutable data structure.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-google-go-cmdtest
   (package
     (name "go-github-com-google-go-cmdtest")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 847d6e2ccf..05e250a0f0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7652,29 +7652,6 @@ implementation.")
 using shell-style rules for quoting and commenting.")
     (license license:asl2.0)))
 
-(define-public go-github-com-google-btree
-  (package
-    (name "go-github-com-google-btree")
-    (version "1.1.3")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/google/btree";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1k3jfj24sp4qk494wxj055vf5fjwskiydscy4a42s5jiwgcjr9gz"))))
-    (build-system go-build-system)
-    (arguments
-     '(#:import-path "github.com/google/btree"))
-    (home-page "https://github.com/google/btree";)
-    (synopsis "Simple, ordered, in-memory data structure for Go programs")
-    (description
-     "This package provides an in-memory B-Tree implementation for Go, useful 
as an
-ordered, mutable data structure.")
-    (license license:asl2.0)))
-
 (define-public go-github-com-peterbourgon-diskv
   (package
     (name "go-github-com-peterbourgon-diskv")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]