1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 11:30:44 +02:00

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
This commit is contained in:
Sharlatan Hellseher 2024-12-15 20:10:42 +00:00
parent d2329c1120
commit bfd586351f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 34 additions and 29 deletions

View file

@ -32,6 +32,7 @@
;;; Copyright © 2022 (unmatched-parenthesis <paren@disroot.org>
;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2022 Dominic Martinez <dom@dominicm.dev>
;;; Copyright © 2022 JOULAUD François <Francois.JOULAUD@radiofrance.com>
;;; Copyright © 2022 Leo Nikkilä <hello@lnikki.la>
;;; Copyright © 2022 kiasoc5 <kiasoc5@disroot.org>
;;; Copyright © 2023 Benjamin <benjamin@uvy.fr>
@ -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")

View file

@ -6516,35 +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")