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

commit 639fbe76f7d9c052bfb709f7f0cb74f7eedb04a5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 15 20:10:42 2024 +0000

    gnu: go-sigs-k8s-io-yaml: Move to golang-xyz.
    
    * gnu/packages/golang.scm (go-sigs-k8s-io-yaml): Move from here ...
    * gnu/packages/golang-xyz.scm: ... to here.
    
    Change-Id: Ie391284b12e488b6518cbce8ca5bf22b42aa3f22
---
 gnu/packages/golang-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm     | 30 ------------------------------
 2 files changed, 34 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 98dbe1822d..7efd41e0d7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 (unmatched-parenthesis <[email protected]>
 ;;; Copyright © 2022 Dhruvin Gandhi <[email protected]>
 ;;; Copyright © 2022 Dominic Martinez <[email protected]>
+;;; Copyright © 2022 JOULAUD François <[email protected]>
 ;;; Copyright © 2022 Leo Nikkilä <[email protected]>
 ;;; Copyright © 2022 kiasoc5 <[email protected]>
 ;;; Copyright © 2023 Benjamin <[email protected]>
@@ -10751,6 +10752,39 @@ and other languages.  More precisely, it is the syntax 
accepted by RE2 and
 described at https://golang.org/s/re2syntax, except for @code{\\C.}")
     (license license:bsd-3)))
 
+(define-public go-sigs-k8s-io-yaml
+  (package
+    (name "go-sigs-k8s-io-yaml")
+    (version "1.4.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/kubernetes-sigs/yaml";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yjnmpwmvlb6md3djn6qx1ag4ld7gjz7jfyz1ldml88zyb9crpqx"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "sigs.k8s.io/yaml"))
+    (native-inputs
+     (list go-github-com-google-go-cmp
+           go-gopkg-in-check-v1))
+    (home-page "https://sigs.k8s.io/yaml";)
+    (synopsis "YAML marshaling and unmarshaling support for Go")
+    (description
+     "This package provides a Go library that first converts YAML to JSON
+using @code{go-yaml} and then uses @code{json.Marshal} and
+@code{json.Unmarshal} to convert to or from the struct. This means that it
+effectively reuses the JSON struct tags as well as the custom JSON methods
+@code{MarshalJSON} and @code{UnmarshalJSON} unlike @code{go-yaml}.
+
+kubernetes-sigs/yaml is a permanent fork of
+@url{https://github.com/ghodss/yaml,ghodss/yaml}.";)
+    (license (list license:expat license:bsd-3))))
+
 (define-public go-suah-dev-protect
   (package
     (name "go-suah-dev-protect")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index ac269c0c2d..0b3a2072ef 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6516,36 +6516,6 @@ Features:
 @end itemize")
     (license license:asl2.0)))
 
-(define-public go-sigs-k8s-io-yaml
-  (package
-    (name "go-sigs-k8s-io-yaml")
-    (version "1.4.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/kubernetes-sigs/yaml";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0yjnmpwmvlb6md3djn6qx1ag4ld7gjz7jfyz1ldml88zyb9crpqx"))))
-    (build-system go-build-system)
-    (arguments '(#:import-path "sigs.k8s.io/yaml"))
-    (native-inputs (list go-gopkg-in-check-v1 go-github-com-google-go-cmp))
-    (home-page "https://sigs.k8s.io/yaml";)
-    (synopsis "YAML marshaling and unmarshaling support for Go")
-    (description
-     "This package provides a Go library that first converts YAML to JSON
-using @code{go-yaml} and then uses @code{json.Marshal} and
-@code{json.Unmarshal} to convert to or from the struct. This means that
-it effectively reuses the JSON struct tags as well as the custom JSON
-methods @code{MarshalJSON} and @code{UnmarshalJSON} unlike
-@code{go-yaml}.
-
-kubernetes-sigs/yaml is a permanent fork of
-@url{https://github.com/ghodss/yaml,ghodss/yaml}.";)
-    (license (list license:expat license:bsd-3))))
-
 (define-public go-github-com-google-go-jsonnet
   (package
     (name "go-github-com-google-go-jsonnet")

Reply via email to