[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/22: gnu: go-github-com-goccy-go-yaml: Move to golang-xyz.
From: |
guix-commits |
Subject: |
10/22: gnu: go-github-com-goccy-go-yaml: Move to golang-xyz. |
Date: |
Sun, 7 Jul 2024 11:10:40 -0400 (EDT) |
sharlatan pushed a commit to branch master
in repository guix.
commit e799307decc7187352fb21c4d78b312c66e9aa78
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jul 7 11:33:34 2024 +0100
gnu: go-github-com-goccy-go-yaml: Move to golang-xyz.
* gnu/packages/golang.scm (go-github-com-goccy-go-yaml): Move from here ...
* gnu/packages/golang-xyz.scm: ... to here.
Change-Id: I44dc5b01079c6486c31f440c8a1f506a419a0f38
---
gnu/packages/golang-xyz.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
gnu/packages/golang.scm | 43 -------------------------------------------
2 files changed, 45 insertions(+), 43 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 1bfeece415..56b4ae9a65 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2018,6 +2018,51 @@ the library more lightweight.")
"This package provides a Go implementation of globs.")
(license license:expat)))
+(define-public go-github-com-goccy-go-yaml
+ (package
+ (name "go-github-com-goccy-go-yaml")
+ (version "1.11.3")
+ (home-page "https://github.com/goccy/go-yaml")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1rm2rfnlvv704zkb1mnjqv5xx32vfkzv7r2kc8if6gr9ryb7hmbf"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.18
+ #:import-path "github.com/goccy/go-yaml"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-benchmarks
+ (lambda* (#:key import-path #:allow-other-keys)
+ (delete-file-recursively
+ (string-append "src/" import-path "/benchmarks")))))))
+ (native-inputs
+ (list go-github-com-go-playground-validator-v10
+ go-github-com-google-go-cmp-cmp))
+ (propagated-inputs
+ (list go-github-com-fatih-color
+ go-golang-org-x-xerrors))
+ (synopsis "YAML support for the Go language")
+ (description
+ "This package provides features beyond the
+@uref{https://github.com/go-yaml/yaml, defacto YAML library} including:
+
+@itemize
+@item Pretty format for error notifications
+@item Support Scanner or Lexer or Parser as public API
+@item Support Anchor and Alias to Marshaler
+@item Allow referencing elements declared in another file via anchors
+@item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-gookit-color
(package
(name "go-github-com-gookit-color")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9a505000e3..eed7126873 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7851,49 +7851,6 @@ systems can import this package to enable running
programs as services without
modifying them.")
(license license:zlib)))
-(define-public go-github-com-goccy-go-yaml
- (package
- (name "go-github-com-goccy-go-yaml")
- (version "1.11.3")
- (home-page "https://github.com/goccy/go-yaml")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1rm2rfnlvv704zkb1mnjqv5xx32vfkzv7r2kc8if6gr9ryb7hmbf"))))
- (build-system go-build-system)
- (arguments
- (list
- #:go go-1.18
- #:import-path "github.com/goccy/go-yaml"
- #:phases #~(modify-phases %standard-phases
- (add-after 'unpack 'remove-benchmarks
- (lambda* (#:key import-path #:allow-other-keys)
- (delete-file-recursively
- (string-append "src/" import-path "/benchmarks")))))))
- (propagated-inputs
- (list go-github-com-fatih-color go-golang-org-x-xerrors))
- (native-inputs
- (list go-github-com-go-playground-validator-v10
- go-github-com-google-go-cmp-cmp))
- (synopsis "YAML support for the Go language")
- (description
- "This package provides features beyond the
-@uref{https://github.com/go-yaml/yaml, defacto YAML library} including:
-
-@itemize
-@item Pretty format for error notifications
-@item Support Scanner or Lexer or Parser as public API
-@item Support Anchor and Alias to Marshaler
-@item Allow referencing elements declared in another file via anchors
-@item Extract value or AST by YAMLPath (YAMLPath is like a JSONPath)
-@end itemize")
- (license license:expat)))
-
(define-public go-github-com-tekwizely-go-parsing
(let ((commit "1548cfb17df54d365ce9febed0677c06a40a8ceb")
(revision "0"))
- branch master updated (c86a07bacc -> 5217ea6d45), guix-commits, 2024/07/07
- 03/22: gnu: go-github-com-alecthomas-assert-v2: Update to 2.10.0., guix-commits, 2024/07/07
- 01/22: gnu: go-github-com-alecthomas-chroma-v2: Update to 2.14.0., guix-commits, 2024/07/07
- 04/22: gnu: go-github-com-alecthomas-repr: Update to 0.4.0., guix-commits, 2024/07/07
- 02/22: gnu: go-github-com-alecthomas-chroma-v2: Enable all tests., guix-commits, 2024/07/07
- 05/22: gnu: go-github-com-alecthomas-repr: Move to golang-xyz., guix-commits, 2024/07/07
- 08/22: gnu: Add go-chroma., guix-commits, 2024/07/07
- 07/22: gnu: Add go-github-com-alecthomas-kong., guix-commits, 2024/07/07
- 06/22: gnu: go-github-com-alecthomas-colour: Move to golang-xyz., guix-commits, 2024/07/07
- 10/22: gnu: go-github-com-goccy-go-yaml: Move to golang-xyz.,
guix-commits <=
- 21/22: gnu: Add go-github-com-whyrusleeping-cbor., guix-commits, 2024/07/07
- 14/22: gnu: Add go-github-com-ipfs-go-ipld-cbor., guix-commits, 2024/07/07
- 19/22: gnu: Add go-github-com-whyrusleeping-go-keyspace., guix-commits, 2024/07/07
- 09/22: gnu: go-github-com-goccy-yaml: Rename variable., guix-commits, 2024/07/07
- 15/22: gnu: Add go-github-com-facebookgo-atomicfile., guix-commits, 2024/07/07
- 17/22: gnu: Add go-github-com-whyrusleeping-multiaddr-filter., guix-commits, 2024/07/07
- 18/22: gnu: Add go-github-com-whyrusleeping-chunker., guix-commits, 2024/07/07
- 20/22: gnu: Add go-github-com-whyrusleeping-base32., guix-commits, 2024/07/07
- 22/22: gnu: kubo: Unbundle more packaes., guix-commits, 2024/07/07
- 13/22: gnu: Add go-github-com-whyrusleeping-cbor-gen., guix-commits, 2024/07/07