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

commit 3948cbe9aa405bfeb2c0d6b88573cd26c312ee02
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Aug 14 23:39:51 2024 +0100

    gnu: go-github-com-pelletier-go-toml: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-github-com-pelletier-go-toml,
    go-github-com-pelletier-go-toml-v2): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: I76dae5d71ae761af6d7f23ce55286996c55a5d50
---
 gnu/packages/golang-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 47 ---------------------------------------------
 2 files changed, 47 insertions(+), 47 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 600c9ff6d7..65aa50726f 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4694,6 +4694,53 @@ memory accessible to the kernel.  It does not account 
for memory used by other
 processes.")
       (license license:bsd-3))))
 
+(define-public go-github-com-pelletier-go-toml
+  (package
+    (name "go-github-com-pelletier-go-toml")
+    (version "1.9.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pelletier/go-toml";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1wypjrr1axkrkzp4n5gvams94f2sd7dq1pdpd2i35sgpdz6r2m6g"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/pelletier/go-toml"))
+    (propagated-inputs
+     (list go-github-com-burntsushi-toml
+           go-github-com-davecgh-go-spew
+           go-gopkg-in-yaml-v2))
+    (home-page "https://github.com/pelletier/go-toml";)
+    (synopsis "Go library for the TOML configuration language")
+    (description
+     "Go library for the TOML configuration language")
+    (license license:expat)))
+
+(define-public go-github-com-pelletier-go-toml-v2
+  (package
+    (inherit go-github-com-pelletier-go-toml)
+    (name "go-github-com-pelletier-go-toml-v2")
+    (version "2.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pelletier/go-toml";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gimgz33yxmvj0nmy56yy7zq4ay8j55ir8pfzmgwga7npgpzspk7"))))
+    (build-system go-build-system)
+    (arguments
+     (list #:import-path "github.com/pelletier/go-toml/v2"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs '())))
+
 (define-public go-github-com-pierrec-cmdflag
   (package
     (name "go-github-com-pierrec-cmdflag")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4c6b04cd62..77d9a4f065 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3573,53 +3573,6 @@ updating files, like @command{tail -f}.")
     (description "Java properties scanner for Go")
     (license license:bsd-2)))
 
-(define-public go-github-com-pelletier-go-toml
-  (package
-    (name "go-github-com-pelletier-go-toml")
-    (version "1.9.5")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/pelletier/go-toml";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1wypjrr1axkrkzp4n5gvams94f2sd7dq1pdpd2i35sgpdz6r2m6g"))))
-    (build-system go-build-system)
-    (arguments
-     `(#:import-path "github.com/pelletier/go-toml"))
-    (propagated-inputs
-     (list go-github-com-burntsushi-toml
-           go-github-com-davecgh-go-spew
-           go-gopkg-in-yaml-v2))
-    (home-page "https://github.com/pelletier/go-toml";)
-    (synopsis "Go library for the TOML configuration language")
-    (description "Go library for the TOML configuration language")
-    (license license:expat)))
-
-(define-public go-github-com-pelletier-go-toml-v2
-  (package
-    (inherit go-github-com-pelletier-go-toml)
-    (name "go-github-com-pelletier-go-toml-v2")
-    (version "2.2.2")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/pelletier/go-toml";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0gimgz33yxmvj0nmy56yy7zq4ay8j55ir8pfzmgwga7npgpzspk7"))))
-    (build-system go-build-system)
-    (arguments
-     (list #:import-path "github.com/pelletier/go-toml/v2"))
-    (native-inputs
-     (list go-github-com-stretchr-testify))
-    (propagated-inputs '())))
-
 (define-public go-github-com-subosito-gotenv
   (package
     (name "go-github-com-subosito-gotenv")

Reply via email to