[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: Add go-sigs-k8s-io-yaml.
From: |
guix-commits |
Subject: |
02/06: gnu: Add go-sigs-k8s-io-yaml. |
Date: |
Fri, 10 Jun 2022 17:56:28 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit fa0ead00d970428c91be49d55102167c059a44a4
Author: JOULAUD François <Francois.JOULAUD@radiofrance.com>
AuthorDate: Sun May 29 09:36:17 2022 +0000
gnu: Add go-sigs-k8s-io-yaml.
* gnu/packages/golang.scm (go-sigs-k8s-io-yaml): New variable.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/golang.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 820e6b54ab..4c6e8e63f0 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -9775,3 +9775,33 @@ Features:
"@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
decompose request handling into many smaller layers.")
(license license:expat)))
+
+(define-public go-sigs-k8s-io-yaml
+ (package
+ (name "go-sigs-k8s-io-yaml")
+ (version "1.3.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
+ "0qxs0ppqwqrfqs4aywyn1h28xh1qlj5ds4drmygaz1plrxj02dqn"))))
+ (build-system go-build-system)
+ (arguments '(#:import-path "sigs.k8s.io/yaml"))
+ (propagated-inputs (list go-gopkg-in-yaml-v2
go-github-com-davecgh-go-spew))
+ (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))))
- branch master updated (30967b0dc4 -> 010426e2c3), guix-commits, 2022/06/10
- 04/06: gnu: direnv: Update to 2.31.0., guix-commits, 2022/06/10
- 01/06: doc: Update example of a minimalistic home environment., guix-commits, 2022/06/10
- 03/06: gnu: Add go-github-com-google-go-jsonnet., guix-commits, 2022/06/10
- 06/06: gnu: emacs-dimmer: Update to 0.4.2-1-2f915b1., guix-commits, 2022/06/10
- 05/06: gnu: meshlab: Update to 2022.02., guix-commits, 2022/06/10
- 02/06: gnu: Add go-sigs-k8s-io-yaml.,
guix-commits <=