mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
This commit is contained in:
parent
63392aa2ff
commit
e799307dec
2 changed files with 45 additions and 43 deletions
|
@ -2018,6 +2018,51 @@ (define-public go-github-com-gobwas-glob
|
|||
"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")
|
||||
|
|
|
@ -7851,49 +7851,6 @@ (define-public go-github-com-kardianos-minwinsvc
|
|||
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"))
|
||||
|
|
Loading…
Reference in a new issue