diff options
author | Hilton Chain <hako@ultrarare.space> | 2023-07-29 01:20:08 +0800 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-02-16 14:17:34 +0000 |
commit | 8b70d436537f9dfbd59808f820b3fb6fd825cbaf (patch) | |
tree | d46089b20f05a19c01a2d69c6f8b85cb20c98d10 /gnu/packages | |
parent | 32aa57a3583b8ef7f355ea984ffcc0c63bf9d6b3 (diff) |
gnu: Add go-github-com-mikefarah-yq-v4.
* gnu/packages/web.scm (go-github-com-mikefarah-yq-v4): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/web.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 0c67e7d6e4..5997cb176d 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -144,7 +144,9 @@ #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages golang-build) + #:use-module (gnu packages golang-check) #:use-module (gnu packages golang-web) + #:use-module (gnu packages golang-xyz) #:use-module (gnu packages gperf) #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) @@ -5199,6 +5201,53 @@ little effort, and the program to do so is often shorter and simpler than you'd expect.") (license (list license:expat license:cc-by3.0)))) +(define-public go-github-com-mikefarah-yq-v4 + (package + (name "go-github-com-mikefarah-yq-v4") + (version "4.34.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mikefarah/yq") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y5i0p4fiq0kad9xqihhyclhd9d3l2r5yligdkvsdc90hlqjmql3")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/mikefarah/yq/v4" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'remove-binary + (lambda _ + (delete-file-recursively + (string-append #$output "/bin"))))))) + (propagated-inputs + (list go-github-com-a8m-envsubst + go-github-com-alecthomas-participle-v2 + go-github-com-dimchansky-utfbom + go-github-com-elliotchance-orderedmap + go-github-com-fatih-color + go-github-com-goccy-go-json + go-github-com-goccy-yaml + go-github-com-jinzhu-copier + go-github-com-magiconair-properties + go-github-com-pelletier-go-toml-v2 + go-github-com-spf13-cobra + go-golang-org-x-net + go-golang-org-x-text + go-gopkg-in-op-go-logging-v1 + go-gopkg-in-yaml-v3)) + (home-page "https://mikefarah.gitbook.io/yq/") + (synopsis + "Command-line YAML, JSON, XML, CSV, TOML and properties processor") + (description + "This package provides @code{yq}, a command-line YAML, JSON and XML +processor. It uses @code{jq}-like syntax but works with YAML files as well as +JSON, XML, properties, CSV and TSV.") + (license license:expat))) + (define-public go-github-com-itchyny-timefmt-go (package (name "go-github-com-itchyny-timefmt-go") |