* [bug#64916] [PATCH 00/18] gnu: Add yq. @ 2023-07-28 9:05 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 01/18] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via ` (19 more replies) 0 siblings, 20 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:05 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain Hello Guix! This patchset adds yq[1], a program similar to jq, but also supporting YAML, XML, properties, CSV and TSV. Thanks [1]: <https://mikefarah.gitbook.io/yq/> Hilton Chain (18): gnu: Add go-github-com-a8m-envsubst. gnu: Add go-github-com-hexops-gotextdiff. gnu: go-github-com-alecthomas-repr: Update to 0.2.0. gnu: Add go-github-com-alecthomas-assert-v2. gnu: Add go-github-com-alecthomas-participle-v2. gnu: Add go-github-com-dimchansky-utfbom. gnu: Add go-github-com-elliotchance-orderedmap. gnu: go-github-com-mattn-go-isatty: Update to 0.0.17. gnu: go-github-com-mattn-go-colorable: Update to 0.1.13. gnu: go-github-com-fatih-color: Update to 1.15.0. gnu: go-github-com-goccy-go-json: Update to 0.10.2. gnu: Add go-github-com-jinzhu-copier. gnu: go-github-com-magiconair-properties: Update to 1.8.7. gnu: Add go-github-com-pelletier-go-toml-v2. gnu: go-github-com-spf13-cobra: Update to 1.7.0. gnu: Add go-gopkg-in-op-go-logging-v1. gnu: Add go-github-com-mikefarah-yq-v4. gnu: Add yq. gnu/packages/golang.scm | 262 ++++++++++++++++++++++++++++++++++------ gnu/packages/web.scm | 62 ++++++++++ 2 files changed, 285 insertions(+), 39 deletions(-) base-commit: 35c8d631d2bd63c64e863b5509f29fdcb7f856e6 -- 2.41.0 ^ permalink raw reply [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 01/18] gnu: Add go-github-com-a8m-envsubst. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 02/18] gnu: Add go-github-com-hexops-gotextdiff Hilton Chain via Guix-patches via ` (18 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-a8m-envsubst): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea6aadbe80..a6b20a5446 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1041,6 +1041,28 @@ (define-public go-0xacab-org-leap-shapeshifter filtering devices.") (license license:bsd-2)))) +(define-public go-github-com-a8m-envsubst + (package + (name "go-github-com-a8m-envsubst") + (version "1.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/a8m/envsubst") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1mjs729g9nmalx25l4nn3p07amm4vsciqmdf0jbh2jwpy1zymz41")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/a8m/envsubst")) + (home-page "https://github.com/a8m/envsubst") + (synopsis "Environment variables substitution for Go") + (description + "This package provides a library for environment variables substitution.") + (license license:expat))) + (define-public go-github-com-agext-levenshtein (package (name "go-github-com-agext-levenshtein") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 02/18] gnu: Add go-github-com-hexops-gotextdiff. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 01/18] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 03/18] gnu: go-github-com-alecthomas-repr: Update to 0.2.0 Hilton Chain via Guix-patches via ` (17 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-hexops-gotextdiff): New variable. --- gnu/packages/golang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a6b20a5446..f81a330697 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3226,6 +3226,27 @@ (define-public go-github-com-hebcal-hebcal-go and anniversaries.") (license license:gpl2+)))) +(define-public go-github-com-hexops-gotextdiff + (package + (name "go-github-com-hexops-gotextdiff") + (version "1.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hexops/gotextdiff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vgq6w0cfhr76qlczgm5khsj1wnjkva0vhkh3qspaa1nkfw3jny1")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/hexops/gotextdiff")) + (home-page "https://github.com/hexops/gotextdiff") + (synopsis "Unified text diffing in Go") + (description "This package provides library to generate unified diffs.") + (license license:bsd-3))) + (define-public go-github-com-aws-sdk (package (name "go-github-com-aws-sdk") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 03/18] gnu: go-github-com-alecthomas-repr: Update to 0.2.0. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 01/18] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 02/18] gnu: Add go-github-com-hexops-gotextdiff Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 04/18] gnu: Add go-github-com-alecthomas-assert-v2 Hilton Chain via Guix-patches via ` (16 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-alecthomas-repr): Update to 0.2.0. [arguments]<#:go>: Use go-1.18. --- gnu/packages/golang.scm | 45 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f81a330697..749f058b79 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9078,30 +9078,29 @@ (define-public go-github-com-alecthomas-colour (license license:expat))) (define-public go-github-com-alecthomas-repr - (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f") - (revision "1")) - (package - (name "go-github-com-alecthomas-repr") - (version (git-version "0.0.1" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alecthomas/repr") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/alecthomas/repr")) - (native-inputs - (list go-github-com-stretchr-testify)) - (home-page "https://github.com/alecthomas/repr/") - (synopsis "Represent Go values in an almost direct form") - (description "This package attempts to represent Go values in a form that + (package + (name "go-github-com-alecthomas-repr") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/repr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pryj28l9rvin58sg5amj8izp613k7pymrmd7pdp7zpl9xjvhyxq")))) + (build-system go-build-system) + (arguments + `(#:go ,go-1.18 + #:import-path "github.com/alecthomas/repr")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/alecthomas/repr/") + (synopsis "Represent Go values in an almost direct form") + (description "This package attempts to represent Go values in a form that can be used almost directly in Go source code.") - (license license:expat)))) + (license license:expat))) (define-public go-github-com-sergi-go-diff (package -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 04/18] gnu: Add go-github-com-alecthomas-assert-v2. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (2 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 03/18] gnu: go-github-com-alecthomas-repr: Update to 0.2.0 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 05/18] gnu: Add go-github-com-alecthomas-participle-v2 Hilton Chain via Guix-patches via ` (15 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-alecthomas-assert-v2): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 749f058b79..1081827195 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9163,6 +9163,28 @@ (define-public go-github-com-alecthomas-assert @end itemize\n") (license license:expat)))) +(define-public go-github-com-alecthomas-assert-v2 + (package + (inherit go-github-com-alecthomas-assert) + (name "go-github-com-alecthomas-assert-v2") + (version "2.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/assert") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "055w46gr47rrn5g2hh7z6hj3x2b8advbcph8gs8szrpzlympyyz0")))) + (arguments + (list #:go go-1.18 + #:import-path "github.com/alecthomas/assert/v2")) + (propagated-inputs + (list go-github-com-alecthomas-repr + go-github-com-hexops-gotextdiff)) + (native-inputs '()))) + (define-public go-github-com-alecthomas-chroma (package (name "go-github-com-alecthomas-chroma") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 05/18] gnu: Add go-github-com-alecthomas-participle-v2. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (3 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 04/18] gnu: Add go-github-com-alecthomas-assert-v2 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 06/18] gnu: Add go-github-com-dimchansky-utfbom Hilton Chain via Guix-patches via ` (14 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-alecthomas-participle-v2): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1081827195..0efbf134ad 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9077,6 +9077,30 @@ (define-public go-github-com-alecthomas-colour stripped.") (license license:expat))) +(define-public go-github-com-alecthomas-participle-v2 + (package + (name "go-github-com-alecthomas-participle-v2") + (version "2.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/participle") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13q58fyh940ybnwadbyn3p023dsjlyv77bmys6dz1v7a7fwg2djw")))) + (build-system go-build-system) + (arguments + (list #:go go-1.18 + #:import-path "github.com/alecthomas/participle/v2")) + (propagated-inputs + (list go-github-com-alecthomas-assert-v2)) + (home-page "https://github.com/alecthomas/participle") + (synopsis "Parser library for Go") + (description "This package provides a parser library for Go.") + (license license:expat))) + (define-public go-github-com-alecthomas-repr (package (name "go-github-com-alecthomas-repr") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 06/18] gnu: Add go-github-com-dimchansky-utfbom. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (4 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 05/18] gnu: Add go-github-com-alecthomas-participle-v2 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 07/18] gnu: Add go-github-com-elliotchance-orderedmap Hilton Chain via Guix-patches via ` (13 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-dimchansky-utfbom): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0efbf134ad..2c0df2af8b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7069,6 +7069,29 @@ (define-public go-github-com-kr-fs "The fs package provides file-system-related Go functions.") (license license:bsd-3)))) +(define-public go-github-com-dimchansky-utfbom + (package + (name "go-github-com-dimchansky-utfbom") + (version "1.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dimchansky/utfbom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ll3wqvifmdanfyg6wsvz31c7n4mnczg2yxb65j35qxrnak89hn3")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/dimchansky/utfbom")) + (home-page "https://github.com/dimchansky/utfbom") + (synopsis "Go Unicode byte order mark detection library") + (description + "This package provides a library for @acronym{BOM, Unicode Byte Order Mark} +detection.") + (license license:asl2.0))) + (define-public go-github-com-direnv-go-dotenv (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed") (revision "0")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 07/18] gnu: Add go-github-com-elliotchance-orderedmap. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (5 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 06/18] gnu: Add go-github-com-dimchansky-utfbom Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 08/18] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17 Hilton Chain via Guix-patches via ` (12 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-elliotchance-orderedmap): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 2c0df2af8b..ec3bdbffa1 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2605,6 +2605,31 @@ (define-public go-github-com-apparentlymart-go-openvpn-mgmt running with its management port enabled.") (license license:expat)))) +(define-public go-github-com-elliotchance-orderedmap + (package + (name "go-github-com-elliotchance-orderedmap") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elliotchance/orderedmap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "033phv59hj3nz41jwiya8ma9p4cc1gbw41i14k2krl2c7s6pd3zc")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/elliotchance/orderedmap")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/elliotchance/orderedmap") + (synopsis "Go ordered map library") + (description + "This package provides a ordered map library that maintains amortized O(1) +for @code{Set}, @code{Get}, @code{Delete} and @code{Len}.") + (license license:expat))) + (define-public go-github-com-emersion-go-autostart (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c") (revision "0")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 08/18] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (6 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 07/18] gnu: Add go-github-com-elliotchance-orderedmap Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 09/18] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13 Hilton Chain via Guix-patches via ` (11 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-mattn-go-isatty): Update to 0.0.17. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ec3bdbffa1..125eeeb14e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5595,7 +5595,7 @@ (define-public go-github-com-matrix-org-gomatrix (define-public go-github-com-mattn-go-isatty (package (name "go-github-com-mattn-go-isatty") - (version "0.0.11") + (version "0.0.17") (source (origin (method git-fetch) @@ -5605,7 +5605,7 @@ (define-public go-github-com-mattn-go-isatty (file-name (git-file-name name version)) (sha256 (base32 - "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali")))) + "1dnkvnnrdrg3xlzbs3cw29fwqsln742hj1iajx32gflfsl2b4fag")))) (build-system go-build-system) (propagated-inputs (list go-golang-org-x-sys)) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 09/18] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (7 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 08/18] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 10/18] gnu: go-github-com-fatih-color: Update to 1.15.0 Hilton Chain via Guix-patches via ` (10 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-mattn-go-colorable): Update to 0.1.13 --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 125eeeb14e..18599f7cfa 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5621,7 +5621,7 @@ (define-public go-github-com-mattn-go-isatty (define-public go-github-com-mattn-go-colorable (package (name "go-github-com-mattn-go-colorable") - (version "0.1.8") + (version "0.1.13") (home-page "https://github.com/mattn/go-colorable") (source (origin @@ -5632,7 +5632,7 @@ (define-public go-github-com-mattn-go-colorable (file-name (git-file-name name version)) (sha256 (base32 - "0q34zqwbnls72md8q8mhj368s7p3i4xspvs3rk8fs76s0pn7dr2l")))) + "05hl2ddp67p5kj3ix4zzqqjh4fan4ban3vgw8f98simwigs3q41j")))) (build-system go-build-system) (native-inputs (list go-github-com-mattn-go-isatty)) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 10/18] gnu: go-github-com-fatih-color: Update to 1.15.0. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (8 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 09/18] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 11/18] gnu: go-github-com-goccy-go-json: Update to 0.10.2 Hilton Chain via Guix-patches via ` (9 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-fatih-color): Update to 1.15.0. --- gnu/packages/golang.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 18599f7cfa..c7be0407a2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8156,7 +8156,7 @@ (define-public go-github-com-emersion-go-mbox (define-public go-github-com-fatih-color (package (name "go-github-com-fatih-color") - (version "1.8.0") + (version "1.15.0") (source (origin (method git-fetch) (uri (git-reference @@ -8165,11 +8165,7 @@ (define-public go-github-com-fatih-color (file-name (git-file-name name version)) (sha256 (base32 - "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "vendor"))))) + "16vbm6y7sc5gikqy20qnr8cbq16s2zghv0ppbll4ay2hamqargzd")))) (build-system go-build-system) (arguments '(#:import-path "github.com/fatih/color")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 11/18] gnu: go-github-com-goccy-go-json: Update to 0.10.2. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (9 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 10/18] gnu: go-github-com-fatih-color: Update to 1.15.0 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 12/18] gnu: Add go-github-com-jinzhu-copier Hilton Chain via Guix-patches via ` (8 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-goccy-go-json): Update to 0.10.2. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c7be0407a2..c98974161f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4195,7 +4195,7 @@ (define-public go-github-com-burntsushi-toml (define-public go-github-com-goccy-go-json (package (name "go-github-com-goccy-go-json") - (version "0.9.10") + (version "0.10.2") (source (origin (method git-fetch) @@ -4204,7 +4204,7 @@ (define-public go-github-com-goccy-go-json (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp")))) + (base32 "1krid2hlvs808jl9zmv7m6zx92samc60gymhwr2mwwykicwbnks8")))) (build-system go-build-system) (arguments '(#:import-path "github.com/goccy/go-json")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 12/18] gnu: Add go-github-com-jinzhu-copier. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (10 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 11/18] gnu: go-github-com-goccy-go-json: Update to 0.10.2 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 13/18] gnu: go-github-com-magiconair-properties: Update to 1.8.7 Hilton Chain via Guix-patches via ` (7 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-jinzhu-copier): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c98974161f..98a59b1918 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4296,6 +4296,29 @@ (define-public go-github-com-hashicorp-go-version increment versions.") (license license:mpl2.0)))) +(define-public go-github-com-jinzhu-copier + (package + (name "go-github-com-jinzhu-copier") + (version "0.3.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jinzhu/copier") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d52qyky3gbj520v2fak7ri2smx5svynngjplzj7rc419h2pdgk7")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/jinzhu/copier")) + (home-page "https://github.com/jinzhu/copier") + (synopsis "Go copier library") + (description + "This package provides a library, which supports copying value from one +struct to another.") + (license license:expat))) + (define-public go-github-com-jpillora-backoff (let ((commit "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 13/18] gnu: go-github-com-magiconair-properties: Update to 1.8.7. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (11 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 12/18] gnu: Add go-github-com-jinzhu-copier Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 14/18] gnu: Add go-github-com-pelletier-go-toml-v2 Hilton Chain via Guix-patches via ` (6 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-magiconair-properties): Update to 1.8.7. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 98a59b1918..7670835d10 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5149,7 +5149,7 @@ (define-public go-github-com-nxadm-tail (define-public go-github-com-magiconair-properties (package (name "go-github-com-magiconair-properties") - (version "1.8.5") + (version "1.8.7") (source (origin (method git-fetch) @@ -5159,7 +5159,7 @@ (define-public go-github-com-magiconair-properties (file-name (git-file-name name version)) (sha256 (base32 - "0v4agnkhc30fblbmhs0gq2bikhdnnmqmpp4phrnza68m04j5hxbn")))) + "0xy5nq7mwhrdcwjlgh4arjn6w5mjla0kni3cvl3z5vxcrnfrn3ax")))) (build-system go-build-system) (arguments `(#:import-path "github.com/magiconair/properties")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 14/18] gnu: Add go-github-com-pelletier-go-toml-v2. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (12 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 13/18] gnu: go-github-com-magiconair-properties: Update to 1.8.7 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 15/18] gnu: go-github-com-spf13-cobra: Update to 1.7.0 Hilton Chain via Guix-patches via ` (5 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-pelletier-go-toml-v2): New variable. --- gnu/packages/golang.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 7670835d10..648e04c5ad 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5194,6 +5194,26 @@ (define-public go-github-com-pelletier-go-toml (description "Go library for the TOML configuration language") (license license:expat))) +(define-public go-github-com-pelletier-go-toml-v2 + (package + (inherit go-github-com-pelletier-go-toml) + (name "go-github-com-pelletier-go-toml-v2") + (version "2.0.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pelletier/go-toml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04lbwawyvygzzy5w4c9bs8jywr1ypm35zb4cp477gxl1iiqvzk54")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/pelletier/go-toml/v2")) + (native-inputs + (list go-github-com-stretchr-testify)))) + (define-public go-github-com-subosito-gotenv (package (name "go-github-com-subosito-gotenv") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 15/18] gnu: go-github-com-spf13-cobra: Update to 1.7.0. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (13 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 14/18] gnu: Add go-github-com-pelletier-go-toml-v2 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 16/18] gnu: Add go-gopkg-in-op-go-logging-v1 Hilton Chain via Guix-patches via ` (4 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-spf13-cobra): Update to 1.7.0. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 648e04c5ad..34c987b559 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4950,7 +4950,7 @@ (define-public go-github-com-spf13-cast (define-public go-github-com-spf13-cobra (package (name "go-github-com-spf13-cobra") - (version "1.5.0") + (version "1.7.0") (source (origin (method git-fetch) @@ -4960,7 +4960,7 @@ (define-public go-github-com-spf13-cobra (file-name (git-file-name name version)) (sha256 (base32 - "0qavvyljh509w5xb46lfkak670szp6v4jswwar1hx13cpid8gk5d")))) + "0fwv0qpb7z0rqdacsx1mahspgmx1h3hif5fjqzq77wgkk5kbv2bf")))) (build-system go-build-system) (arguments `(#:import-path "github.com/spf13/cobra")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 16/18] gnu: Add go-gopkg-in-op-go-logging-v1. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (14 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 15/18] gnu: go-github-com-spf13-cobra: Update to 1.7.0 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 17/18] gnu: Add go-github-com-mikefarah-yq-v4 Hilton Chain via Guix-patches via ` (3 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-gopkg-in-op-go-logging-v1): New variable. --- gnu/packages/golang.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 34c987b559..475c56a8ce 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2256,6 +2256,15 @@ (define-public go-github-com-op-go-logging levels per backend and logger.") (license license:bsd-3))) +(define-public go-gopkg-in-op-go-logging-v1 + (package + (inherit go-github-com-op-go-logging) + (name "go-gopkg-in-op-go-logging-v1") + (arguments + (substitute-keyword-arguments + (package-arguments go-github-com-op-go-logging) + ((#:import-path _) "gopkg.in/op/go-logging.v1"))))) + (define-public go-github-com-operatorfoundation-shapeshifter-ipc (package (name "go-github-com-operatorfoundation-shapeshifter-ipc") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 17/18] gnu: Add go-github-com-mikefarah-yq-v4. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (15 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 16/18] gnu: Add go-gopkg-in-op-go-logging-v1 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 18/18] gnu: Add yq Hilton Chain via Guix-patches via ` (2 subsequent siblings) 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/web.scm (go-github-com-mikefarah-yq-v4): New variable. --- gnu/packages/web.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b7be06cd7b..b2aea7940e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5063,6 +5063,53 @@ (define-public jq 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") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH 18/18] gnu: Add yq. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (16 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 17/18] gnu: Add go-github-com-mikefarah-yq-v4 Hilton Chain via Guix-patches via @ 2023-07-28 9:07 ` Hilton Chain via Guix-patches via 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via 2024-02-16 14:26 ` bug#64916: [PATCH 00/18] " Sharlatan Hellseher 19 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 9:07 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/web.scm (yq): New variable. --- gnu/packages/web.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b2aea7940e..f3378065be 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5110,6 +5110,21 @@ (define-public go-github-com-mikefarah-yq-v4 JSON, XML, properties, CSV and TSV. ") (license license:expat))) +(define-public yq + (package + (inherit go-github-com-mikefarah-yq-v4) + (name "yq") + (arguments + (list #:install-source? #f + #:import-path "github.com/mikefarah/yq/v4" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'rename-binary + (rename-file (string-append #$output "/bin/v4") + (string-append #$output "/bin/yq")))))) + (propagated-inputs '()) + (inputs (package-propagated-inputs go-github-com-mikefarah-yq-v4)))) + (define-public go-github-com-itchyny-timefmt-go (package (name "go-github-com-itchyny-timefmt-go") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 00/23] gnu: Add yq. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (17 preceding siblings ...) 2023-07-28 9:07 ` [bug#64916] [PATCH 18/18] gnu: Add yq Hilton Chain via Guix-patches via @ 2023-07-28 17:16 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 01/23] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via ` (22 more replies) 2024-02-16 14:26 ` bug#64916: [PATCH 00/18] " Sharlatan Hellseher 19 siblings, 23 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:16 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain v1 -> v2: 1. In the last patch ("gnu: Add yq."), I forgot to write a phase as a procedure, now make it (lambda _ [...]). 2. Update go-github-com-goccy-yaml as well. Diff range from v1 to v2 is attached below the base-commit line. Hilton Chain (23): gnu: Add go-github-com-a8m-envsubst. gnu: Add go-github-com-hexops-gotextdiff. gnu: go-github-com-alecthomas-repr: Update to 0.2.0. gnu: Add go-github-com-alecthomas-assert-v2. gnu: Add go-github-com-alecthomas-participle-v2. gnu: Add go-github-com-dimchansky-utfbom. gnu: Add go-github-com-elliotchance-orderedmap. gnu: go-github-com-mattn-go-isatty: Update to 0.0.17. gnu: go-github-com-mattn-go-colorable: Update to 0.1.13. gnu: go-github-com-fatih-color: Update to 1.15.0. gnu: go-github-com-goccy-go-json: Update to 0.10.2. gnu: go-github-com-go-playground-universal-translator: Update to 0.18.0. gnu: go-github-com-leodido-go-urn: Update to 1.2.1. gnu: Add go-github-com-go-playground-assert-v2. gnu: Add go-github-com-go-playground-validator-v10. gnu: go-github-com-goccy-yaml: Update to 1.11.0. gnu: Add go-github-com-jinzhu-copier. gnu: go-github-com-magiconair-properties: Update to 1.8.7. gnu: Add go-github-com-pelletier-go-toml-v2. gnu: go-github-com-spf13-cobra: Update to 1.7.0. gnu: Add go-gopkg-in-op-go-logging-v1. gnu: Add go-github-com-mikefarah-yq-v4. gnu: Add yq. gnu/packages/golang.scm | 321 ++++++++++++++++++++++++++++++++++------ gnu/packages/web.scm | 63 ++++++++ 2 files changed, 337 insertions(+), 47 deletions(-) base-commit: a11107a3b2964ad4ea1eb8a6e0f065937a112806 -- 2.41.0 ^ permalink raw reply [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 01/23] gnu: Add go-github-com-a8m-envsubst. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 02/23] gnu: Add go-github-com-hexops-gotextdiff Hilton Chain via Guix-patches via ` (21 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-a8m-envsubst): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ea6aadbe80..a6b20a5446 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1041,6 +1041,28 @@ (define-public go-0xacab-org-leap-shapeshifter filtering devices.") (license license:bsd-2)))) +(define-public go-github-com-a8m-envsubst + (package + (name "go-github-com-a8m-envsubst") + (version "1.4.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/a8m/envsubst") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1mjs729g9nmalx25l4nn3p07amm4vsciqmdf0jbh2jwpy1zymz41")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/a8m/envsubst")) + (home-page "https://github.com/a8m/envsubst") + (synopsis "Environment variables substitution for Go") + (description + "This package provides a library for environment variables substitution.") + (license license:expat))) + (define-public go-github-com-agext-levenshtein (package (name "go-github-com-agext-levenshtein") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 02/23] gnu: Add go-github-com-hexops-gotextdiff. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 01/23] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 03/23] gnu: go-github-com-alecthomas-repr: Update to 0.2.0 Hilton Chain via Guix-patches via ` (20 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-hexops-gotextdiff): New variable. --- gnu/packages/golang.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a6b20a5446..f81a330697 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3226,6 +3226,27 @@ (define-public go-github-com-hebcal-hebcal-go and anniversaries.") (license license:gpl2+)))) +(define-public go-github-com-hexops-gotextdiff + (package + (name "go-github-com-hexops-gotextdiff") + (version "1.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/hexops/gotextdiff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1vgq6w0cfhr76qlczgm5khsj1wnjkva0vhkh3qspaa1nkfw3jny1")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/hexops/gotextdiff")) + (home-page "https://github.com/hexops/gotextdiff") + (synopsis "Unified text diffing in Go") + (description "This package provides library to generate unified diffs.") + (license license:bsd-3))) + (define-public go-github-com-aws-sdk (package (name "go-github-com-aws-sdk") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 03/23] gnu: go-github-com-alecthomas-repr: Update to 0.2.0. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 01/23] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 02/23] gnu: Add go-github-com-hexops-gotextdiff Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 04/23] gnu: Add go-github-com-alecthomas-assert-v2 Hilton Chain via Guix-patches via ` (19 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-alecthomas-repr): Update to 0.2.0. [arguments]<#:go>: Use go-1.18. --- gnu/packages/golang.scm | 45 ++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f81a330697..749f058b79 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9078,30 +9078,29 @@ (define-public go-github-com-alecthomas-colour (license license:expat))) (define-public go-github-com-alecthomas-repr - (let ((commit "4184120f674c8860a5b48142509a2411a0a1766f") - (revision "1")) - (package - (name "go-github-com-alecthomas-repr") - (version (git-version "0.0.1" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/alecthomas/repr") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1z0gdkjryxg1ps5fh4ybzip27g9lzdldz4hxqp5j7s2frbzaa9s7")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/alecthomas/repr")) - (native-inputs - (list go-github-com-stretchr-testify)) - (home-page "https://github.com/alecthomas/repr/") - (synopsis "Represent Go values in an almost direct form") - (description "This package attempts to represent Go values in a form that + (package + (name "go-github-com-alecthomas-repr") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/repr") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0pryj28l9rvin58sg5amj8izp613k7pymrmd7pdp7zpl9xjvhyxq")))) + (build-system go-build-system) + (arguments + `(#:go ,go-1.18 + #:import-path "github.com/alecthomas/repr")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/alecthomas/repr/") + (synopsis "Represent Go values in an almost direct form") + (description "This package attempts to represent Go values in a form that can be used almost directly in Go source code.") - (license license:expat)))) + (license license:expat))) (define-public go-github-com-sergi-go-diff (package -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 04/23] gnu: Add go-github-com-alecthomas-assert-v2. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (2 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 03/23] gnu: go-github-com-alecthomas-repr: Update to 0.2.0 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 05/23] gnu: Add go-github-com-alecthomas-participle-v2 Hilton Chain via Guix-patches via ` (18 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-alecthomas-assert-v2): New variable. --- gnu/packages/golang.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 749f058b79..1081827195 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9163,6 +9163,28 @@ (define-public go-github-com-alecthomas-assert @end itemize\n") (license license:expat)))) +(define-public go-github-com-alecthomas-assert-v2 + (package + (inherit go-github-com-alecthomas-assert) + (name "go-github-com-alecthomas-assert-v2") + (version "2.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/assert") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "055w46gr47rrn5g2hh7z6hj3x2b8advbcph8gs8szrpzlympyyz0")))) + (arguments + (list #:go go-1.18 + #:import-path "github.com/alecthomas/assert/v2")) + (propagated-inputs + (list go-github-com-alecthomas-repr + go-github-com-hexops-gotextdiff)) + (native-inputs '()))) + (define-public go-github-com-alecthomas-chroma (package (name "go-github-com-alecthomas-chroma") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 05/23] gnu: Add go-github-com-alecthomas-participle-v2. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (3 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 04/23] gnu: Add go-github-com-alecthomas-assert-v2 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 06/23] gnu: Add go-github-com-dimchansky-utfbom Hilton Chain via Guix-patches via ` (17 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-alecthomas-participle-v2): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1081827195..0efbf134ad 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -9077,6 +9077,30 @@ (define-public go-github-com-alecthomas-colour stripped.") (license license:expat))) +(define-public go-github-com-alecthomas-participle-v2 + (package + (name "go-github-com-alecthomas-participle-v2") + (version "2.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/alecthomas/participle") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "13q58fyh940ybnwadbyn3p023dsjlyv77bmys6dz1v7a7fwg2djw")))) + (build-system go-build-system) + (arguments + (list #:go go-1.18 + #:import-path "github.com/alecthomas/participle/v2")) + (propagated-inputs + (list go-github-com-alecthomas-assert-v2)) + (home-page "https://github.com/alecthomas/participle") + (synopsis "Parser library for Go") + (description "This package provides a parser library for Go.") + (license license:expat))) + (define-public go-github-com-alecthomas-repr (package (name "go-github-com-alecthomas-repr") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 06/23] gnu: Add go-github-com-dimchansky-utfbom. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (4 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 05/23] gnu: Add go-github-com-alecthomas-participle-v2 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 07/23] gnu: Add go-github-com-elliotchance-orderedmap Hilton Chain via Guix-patches via ` (16 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-dimchansky-utfbom): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0efbf134ad..2c0df2af8b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -7069,6 +7069,29 @@ (define-public go-github-com-kr-fs "The fs package provides file-system-related Go functions.") (license license:bsd-3)))) +(define-public go-github-com-dimchansky-utfbom + (package + (name "go-github-com-dimchansky-utfbom") + (version "1.1.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dimchansky/utfbom") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0ll3wqvifmdanfyg6wsvz31c7n4mnczg2yxb65j35qxrnak89hn3")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/dimchansky/utfbom")) + (home-page "https://github.com/dimchansky/utfbom") + (synopsis "Go Unicode byte order mark detection library") + (description + "This package provides a library for @acronym{BOM, Unicode Byte Order Mark} +detection.") + (license license:asl2.0))) + (define-public go-github-com-direnv-go-dotenv (let ((commit "4cce6d1a66f7bc8dc730eab85cab6af1b801abed") (revision "0")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 07/23] gnu: Add go-github-com-elliotchance-orderedmap. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (5 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 06/23] gnu: Add go-github-com-dimchansky-utfbom Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 08/23] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17 Hilton Chain via Guix-patches via ` (15 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-elliotchance-orderedmap): New variable. --- gnu/packages/golang.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 2c0df2af8b..ec3bdbffa1 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2605,6 +2605,31 @@ (define-public go-github-com-apparentlymart-go-openvpn-mgmt running with its management port enabled.") (license license:expat)))) +(define-public go-github-com-elliotchance-orderedmap + (package + (name "go-github-com-elliotchance-orderedmap") + (version "1.5.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/elliotchance/orderedmap") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "033phv59hj3nz41jwiya8ma9p4cc1gbw41i14k2krl2c7s6pd3zc")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/elliotchance/orderedmap")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/elliotchance/orderedmap") + (synopsis "Go ordered map library") + (description + "This package provides a ordered map library that maintains amortized O(1) +for @code{Set}, @code{Get}, @code{Delete} and @code{Len}.") + (license license:expat))) + (define-public go-github-com-emersion-go-autostart (let ((commit "00ed301c8e9ae79e82878c6361c709983ac5dd2c") (revision "0")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 08/23] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (6 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 07/23] gnu: Add go-github-com-elliotchance-orderedmap Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 09/23] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13 Hilton Chain via Guix-patches via ` (14 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-mattn-go-isatty): Update to 0.0.17. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ec3bdbffa1..125eeeb14e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5595,7 +5595,7 @@ (define-public go-github-com-matrix-org-gomatrix (define-public go-github-com-mattn-go-isatty (package (name "go-github-com-mattn-go-isatty") - (version "0.0.11") + (version "0.0.17") (source (origin (method git-fetch) @@ -5605,7 +5605,7 @@ (define-public go-github-com-mattn-go-isatty (file-name (git-file-name name version)) (sha256 (base32 - "0h671sv7hfprja495kavazkalkx7xzaqksjh13brcnwq67ijrali")))) + "1dnkvnnrdrg3xlzbs3cw29fwqsln742hj1iajx32gflfsl2b4fag")))) (build-system go-build-system) (propagated-inputs (list go-golang-org-x-sys)) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 09/23] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (7 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 08/23] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 10/23] gnu: go-github-com-fatih-color: Update to 1.15.0 Hilton Chain via Guix-patches via ` (13 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-mattn-go-colorable): Update to 0.1.13 --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 125eeeb14e..18599f7cfa 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5621,7 +5621,7 @@ (define-public go-github-com-mattn-go-isatty (define-public go-github-com-mattn-go-colorable (package (name "go-github-com-mattn-go-colorable") - (version "0.1.8") + (version "0.1.13") (home-page "https://github.com/mattn/go-colorable") (source (origin @@ -5632,7 +5632,7 @@ (define-public go-github-com-mattn-go-colorable (file-name (git-file-name name version)) (sha256 (base32 - "0q34zqwbnls72md8q8mhj368s7p3i4xspvs3rk8fs76s0pn7dr2l")))) + "05hl2ddp67p5kj3ix4zzqqjh4fan4ban3vgw8f98simwigs3q41j")))) (build-system go-build-system) (native-inputs (list go-github-com-mattn-go-isatty)) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 10/23] gnu: go-github-com-fatih-color: Update to 1.15.0. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (8 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 09/23] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 11/23] gnu: go-github-com-goccy-go-json: Update to 0.10.2 Hilton Chain via Guix-patches via ` (12 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-fatih-color): Update to 1.15.0. --- gnu/packages/golang.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 18599f7cfa..c7be0407a2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8156,7 +8156,7 @@ (define-public go-github-com-emersion-go-mbox (define-public go-github-com-fatih-color (package (name "go-github-com-fatih-color") - (version "1.8.0") + (version "1.15.0") (source (origin (method git-fetch) (uri (git-reference @@ -8165,11 +8165,7 @@ (define-public go-github-com-fatih-color (file-name (git-file-name name version)) (sha256 (base32 - "1zc0zlilf03h121f9jqq3ar0hfm7706547zysxp2qxbm920pz7h0")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "vendor"))))) + "16vbm6y7sc5gikqy20qnr8cbq16s2zghv0ppbll4ay2hamqargzd")))) (build-system go-build-system) (arguments '(#:import-path "github.com/fatih/color")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 11/23] gnu: go-github-com-goccy-go-json: Update to 0.10.2. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (9 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 10/23] gnu: go-github-com-fatih-color: Update to 1.15.0 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 12/23] gnu: go-github-com-go-playground-universal-translator: Update to 0.18.0 Hilton Chain via Guix-patches via ` (11 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-goccy-go-json): Update to 0.10.2. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c7be0407a2..c98974161f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4195,7 +4195,7 @@ (define-public go-github-com-burntsushi-toml (define-public go-github-com-goccy-go-json (package (name "go-github-com-goccy-go-json") - (version "0.9.10") + (version "0.10.2") (source (origin (method git-fetch) @@ -4204,7 +4204,7 @@ (define-public go-github-com-goccy-go-json (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1bg8p4c6r8r0kixdxv2m8xmdsmb1zl5sd8czswpccldjk3c358wp")))) + (base32 "1krid2hlvs808jl9zmv7m6zx92samc60gymhwr2mwwykicwbnks8")))) (build-system go-build-system) (arguments '(#:import-path "github.com/goccy/go-json")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 12/23] gnu: go-github-com-go-playground-universal-translator: Update to 0.18.0. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (10 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 11/23] gnu: go-github-com-goccy-go-json: Update to 0.10.2 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 13/23] gnu: go-github-com-leodido-go-urn: Update to 1.2.1 Hilton Chain via Guix-patches via ` (10 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-go-playground-universal-translator): Update to 0.18.0. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c98974161f..da55ad859c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3074,7 +3074,7 @@ (define-public go-github-com-go-playground-locales (define-public go-github-com-go-playground-universal-translator (package (name "go-github-com-go-playground-universal-translator") - (version "0.17.0") + (version "0.18.0") (home-page "https://github.com/go-playground/universal-translator") (source (origin @@ -3084,7 +3084,7 @@ (define-public go-github-com-go-playground-universal-translator (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1zdiaisb32iv4x93cpbqrgx8ll7sxh4hcd2iibpswy4bwvjbjlz6")))) + (base32 "1mgf42dwmaf8pk3w2yx9hvn3zavfy0vlzj3kf0x4mg1x0wlb9fdi")))) (build-system go-build-system) (arguments '(#:import-path "github.com/go-playground/universal-translator")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 13/23] gnu: go-github-com-leodido-go-urn: Update to 1.2.1. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (11 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 12/23] gnu: go-github-com-go-playground-universal-translator: Update to 0.18.0 Hilton Chain via Guix-patches via @ 2023-07-28 17:19 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 14/23] gnu: Add go-github-com-go-playground-assert-v2 Hilton Chain via Guix-patches via ` (9 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:19 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-leodido-go-urn): Update to 1.2.1. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index da55ad859c..425afc9a6b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2959,7 +2959,7 @@ (define-public go-github-com-golangplus-testing (define-public go-github-com-leodido-go-urn (package (name "go-github-com-leodido-go-urn") - (version "1.2.0") + (version "1.2.1") (home-page "https://github.com/leodido/go-urn") (source (origin @@ -2969,7 +2969,7 @@ (define-public go-github-com-leodido-go-urn (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1d4g1vkhc1180l1n7q48vl84b27c7cziywml78cyijbcdz2f8vim")))) + (base32 "0n48gfw2gxr4lkxygbx6gcnkgrv0i5l14kl2a6633d8c9k4iyrfk")))) (build-system go-build-system) (arguments '(#:import-path "github.com/leodido/go-urn")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 14/23] gnu: Add go-github-com-go-playground-assert-v2. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (12 preceding siblings ...) 2023-07-28 17:19 ` [bug#64916] [PATCH v2 13/23] gnu: go-github-com-leodido-go-urn: Update to 1.2.1 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 15/23] gnu: Add go-github-com-go-playground-validator-v10 Hilton Chain via Guix-patches via ` (8 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-go-playground-assert-v2): New variable. --- gnu/packages/golang.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 425afc9a6b..6a5f111824 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3037,6 +3037,23 @@ (define-public go-gopkg-in-go-playground-assert-v1 custom assertions to be used alongside native Go testing.") (license license:expat))) +(define-public go-github-com-go-playground-assert-v2 + (package + (inherit go-gopkg-in-go-playground-assert-v1) + (name "go-github-com-go-playground-assert-v2") + (version "2.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-playground/assert") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1cl9c4s405zddzrj36hhs0a18g02zscdl46fyipp6k91mhvai8wz")))) + (arguments + (list #:import-path "github.com/go-playground/assert/v2")))) + (define-public go-github-com-go-playground-locales (package (name "go-github-com-go-playground-locales") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 15/23] gnu: Add go-github-com-go-playground-validator-v10. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (13 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 14/23] gnu: Add go-github-com-go-playground-assert-v2 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 16/23] gnu: go-github-com-goccy-yaml: Update to 1.11.0 Hilton Chain via Guix-patches via ` (7 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-go-playground-validator-v10): New variable. --- gnu/packages/golang.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 6a5f111824..0dbd94592f 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -3173,6 +3173,30 @@ (define-public go-gopkg-in-go-playground-validator-v9 @end itemize") (license license:expat))) +(define-public go-github-com-go-playground-validator-v10 + (package + (inherit go-gopkg-in-go-playground-validator-v9) + (name "go-github-com-go-playground-validator-v10") + (version "10.11.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/go-playground/validator") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "03sd3gd3pl2bv07ivrixp3h5hrw1d1llrpjdalh9jbgby0x2f8ig")))) + (arguments + (list #:import-path "github.com/go-playground/validator/v10")) + (propagated-inputs + (modify-inputs (package-propagated-inputs + go-gopkg-in-go-playground-validator-v9) + (append go-golang-org-x-crypto + go-golang-org-x-text))) + (native-inputs + (list go-github-com-go-playground-assert-v2)))) + (define-public go-github-com-nathan-osman-go-sunrise (let ((commit "c8f9f1eb869135f07378e7e3c5ec7a005f806c73") (revision "0")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 16/23] gnu: go-github-com-goccy-yaml: Update to 1.11.0. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (14 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 15/23] gnu: Add go-github-com-go-playground-validator-v10 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 17/23] gnu: Add go-github-com-jinzhu-copier Hilton Chain via Guix-patches via ` (6 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-goccy-yaml): Update to 1.11.0. [arguments]<#:go>: Use go-1.18. [native-inputs]: Add go-github-com-google-go-cmp-cmp. Replace go-gopkg-in-go-playground-validator-v9 with go-github-com-go-playground-validator-v10. --- gnu/packages/golang.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 0dbd94592f..ad9f1b0ecb 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10913,7 +10913,7 @@ (define-public go-github-com-kardianos-minwinsvc (define-public go-github-com-goccy-yaml (package (name "go-github-com-goccy-yaml") - (version "1.8.0") + (version "1.11.0") (home-page "https://github.com/goccy/go-yaml") (source (origin @@ -10923,14 +10923,16 @@ (define-public go-github-com-goccy-yaml (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1nps58dwkd915mx35h5f0dc05b880b4fdl6dcjxpfmmbzyinvg38")))) + (base32 "0mjq856v0340qmrzasfvxbxfxzrasvn74ii0p41dpvahw6p5p8x1")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/goccy/go-yaml")) + `(#:go ,go-1.18 + #:import-path "github.com/goccy/go-yaml")) (propagated-inputs (list go-github-com-fatih-color go-golang-org-x-xerrors)) (native-inputs - (list go-gopkg-in-go-playground-validator-v9)) + (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 -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 17/23] gnu: Add go-github-com-jinzhu-copier. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (15 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 16/23] gnu: go-github-com-goccy-yaml: Update to 1.11.0 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 18/23] gnu: go-github-com-magiconair-properties: Update to 1.8.7 Hilton Chain via Guix-patches via ` (5 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-jinzhu-copier): New variable. --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index ad9f1b0ecb..5053c2dd0b 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4337,6 +4337,29 @@ (define-public go-github-com-hashicorp-go-version increment versions.") (license license:mpl2.0)))) +(define-public go-github-com-jinzhu-copier + (package + (name "go-github-com-jinzhu-copier") + (version "0.3.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jinzhu/copier") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d52qyky3gbj520v2fak7ri2smx5svynngjplzj7rc419h2pdgk7")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/jinzhu/copier")) + (home-page "https://github.com/jinzhu/copier") + (synopsis "Go copier library") + (description + "This package provides a library, which supports copying value from one +struct to another.") + (license license:expat))) + (define-public go-github-com-jpillora-backoff (let ((commit "06c7a16c845dc8e0bf575fafeeca0f5462f5eb4d") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 18/23] gnu: go-github-com-magiconair-properties: Update to 1.8.7. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (16 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 17/23] gnu: Add go-github-com-jinzhu-copier Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 19/23] gnu: Add go-github-com-pelletier-go-toml-v2 Hilton Chain via Guix-patches via ` (4 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-magiconair-properties): Update to 1.8.7. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 5053c2dd0b..60f9d79177 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5190,7 +5190,7 @@ (define-public go-github-com-nxadm-tail (define-public go-github-com-magiconair-properties (package (name "go-github-com-magiconair-properties") - (version "1.8.5") + (version "1.8.7") (source (origin (method git-fetch) @@ -5200,7 +5200,7 @@ (define-public go-github-com-magiconair-properties (file-name (git-file-name name version)) (sha256 (base32 - "0v4agnkhc30fblbmhs0gq2bikhdnnmqmpp4phrnza68m04j5hxbn")))) + "0xy5nq7mwhrdcwjlgh4arjn6w5mjla0kni3cvl3z5vxcrnfrn3ax")))) (build-system go-build-system) (arguments `(#:import-path "github.com/magiconair/properties")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 19/23] gnu: Add go-github-com-pelletier-go-toml-v2. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (17 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 18/23] gnu: go-github-com-magiconair-properties: Update to 1.8.7 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 20/23] gnu: go-github-com-spf13-cobra: Update to 1.7.0 Hilton Chain via Guix-patches via ` (3 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-pelletier-go-toml-v2): New variable. --- gnu/packages/golang.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 60f9d79177..1cb1c8f304 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -5235,6 +5235,26 @@ (define-public go-github-com-pelletier-go-toml (description "Go library for the TOML configuration language") (license license:expat))) +(define-public go-github-com-pelletier-go-toml-v2 + (package + (inherit go-github-com-pelletier-go-toml) + (name "go-github-com-pelletier-go-toml-v2") + (version "2.0.8") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pelletier/go-toml") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "04lbwawyvygzzy5w4c9bs8jywr1ypm35zb4cp477gxl1iiqvzk54")))) + (build-system go-build-system) + (arguments + (list #:import-path "github.com/pelletier/go-toml/v2")) + (native-inputs + (list go-github-com-stretchr-testify)))) + (define-public go-github-com-subosito-gotenv (package (name "go-github-com-subosito-gotenv") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 20/23] gnu: go-github-com-spf13-cobra: Update to 1.7.0. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (18 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 19/23] gnu: Add go-github-com-pelletier-go-toml-v2 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 21/23] gnu: Add go-gopkg-in-op-go-logging-v1 Hilton Chain via Guix-patches via ` (2 subsequent siblings) 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-github-com-spf13-cobra): Update to 1.7.0. --- gnu/packages/golang.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 1cb1c8f304..a4b1adeca5 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -4991,7 +4991,7 @@ (define-public go-github-com-spf13-cast (define-public go-github-com-spf13-cobra (package (name "go-github-com-spf13-cobra") - (version "1.5.0") + (version "1.7.0") (source (origin (method git-fetch) @@ -5001,7 +5001,7 @@ (define-public go-github-com-spf13-cobra (file-name (git-file-name name version)) (sha256 (base32 - "0qavvyljh509w5xb46lfkak670szp6v4jswwar1hx13cpid8gk5d")))) + "0fwv0qpb7z0rqdacsx1mahspgmx1h3hif5fjqzq77wgkk5kbv2bf")))) (build-system go-build-system) (arguments `(#:import-path "github.com/spf13/cobra")) -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 21/23] gnu: Add go-gopkg-in-op-go-logging-v1. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (19 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 20/23] gnu: go-github-com-spf13-cobra: Update to 1.7.0 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 22/23] gnu: Add go-github-com-mikefarah-yq-v4 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 23/23] gnu: Add yq Hilton Chain via Guix-patches via 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/golang.scm (go-gopkg-in-op-go-logging-v1): New variable. --- gnu/packages/golang.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a4b1adeca5..46087ad692 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -2256,6 +2256,15 @@ (define-public go-github-com-op-go-logging levels per backend and logger.") (license license:bsd-3))) +(define-public go-gopkg-in-op-go-logging-v1 + (package + (inherit go-github-com-op-go-logging) + (name "go-gopkg-in-op-go-logging-v1") + (arguments + (substitute-keyword-arguments + (package-arguments go-github-com-op-go-logging) + ((#:import-path _) "gopkg.in/op/go-logging.v1"))))) + (define-public go-github-com-operatorfoundation-shapeshifter-ipc (package (name "go-github-com-operatorfoundation-shapeshifter-ipc") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 22/23] gnu: Add go-github-com-mikefarah-yq-v4. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (20 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 21/23] gnu: Add go-gopkg-in-op-go-logging-v1 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 23/23] gnu: Add yq Hilton Chain via Guix-patches via 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/web.scm (go-github-com-mikefarah-yq-v4): New variable. --- gnu/packages/web.scm | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b7be06cd7b..b2aea7940e 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5063,6 +5063,53 @@ (define-public jq 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") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* [bug#64916] [PATCH v2 23/23] gnu: Add yq. 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via ` (21 preceding siblings ...) 2023-07-28 17:20 ` [bug#64916] [PATCH v2 22/23] gnu: Add go-github-com-mikefarah-yq-v4 Hilton Chain via Guix-patches via @ 2023-07-28 17:20 ` Hilton Chain via Guix-patches via 22 siblings, 0 replies; 44+ messages in thread From: Hilton Chain via Guix-patches via @ 2023-07-28 17:20 UTC (permalink / raw) To: 64916; +Cc: Hilton Chain * gnu/packages/web.scm (yq): New variable. --- gnu/packages/web.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index b2aea7940e..f204b39433 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -5110,6 +5110,22 @@ (define-public go-github-com-mikefarah-yq-v4 JSON, XML, properties, CSV and TSV. ") (license license:expat))) +(define-public yq + (package + (inherit go-github-com-mikefarah-yq-v4) + (name "yq") + (arguments + (list #:install-source? #f + #:import-path "github.com/mikefarah/yq/v4" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'rename-binary + (lambda _ + (rename-file (string-append #$output "/bin/v4") + (string-append #$output "/bin/yq"))))))) + (propagated-inputs '()) + (inputs (package-propagated-inputs go-github-com-mikefarah-yq-v4)))) + (define-public go-github-com-itchyny-timefmt-go (package (name "go-github-com-itchyny-timefmt-go") -- 2.41.0 ^ permalink raw reply related [flat|nested] 44+ messages in thread
* bug#64916: [PATCH 00/18] gnu: Add yq. 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via ` (18 preceding siblings ...) 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via @ 2024-02-16 14:26 ` Sharlatan Hellseher 19 siblings, 0 replies; 44+ messages in thread From: Sharlatan Hellseher @ 2024-02-16 14:26 UTC (permalink / raw) To: 64916-done [-- Attachment #1: Type: text/plain, Size: 7108 bytes --] Hi, Thank you for the nice set of patches! I've checkouted from a11107a3b2964ad4ea1eb8a6e0f065937a112806 and rebased to the latest master branch to apply v2. - Modifications applied [23/23][100%] - [X] Add go-github-com-a8m-envsubst - [X] move to golang-xyz - [X] Add go-github-com-alecthomas-assert-v2 - [X] move to golang-check - [X] Add go-github-com-alecthomas-participle-v2 - [X] move to golang-xyz - [X] gnu/packages/golang-xyz.scm:81:13: go-github-com-alecthomas-participle-v2@2.0.0: can be upgraded to 2.1.1 - [X] move go-github-com-alecthomas-assert-v2 to native inputs - [X] Add go-github-com-dimchansky-utfbom - [X] move to golang-xyz - [X] Add go-github-com-elliotchance-orderedmap - [X] move golang-xyz - [X] update to 1.5.1 - [X] Add go-github-com-go-playground-assert-v2 - [X] move to golang-check - [X] gnu/packages/golang-check.scm:762:13: go-github-com-go-playground-assert-v2@2.0.1: can be upgraded to 2.2.0 - [X] Add go-github-com-go-playground-validator-v10 - [X] gnu/packages/golang.scm:2992:13: go-github-com-go-playground-validator-v10@10.11.1: can be upgraded to 10.18.0 - [X] add go-github-com-gabriel-vasile-mimetype to propagated-inputs - [X] Add go-github-com-hexops-gotextdiff - [X] move to golang-check - [X] Add go-github-com-jinzhu-copier - [X] move to golang-xyz - [X] gnu/packages/golang-xyz.scm:545:13: go-github-com-jinzhu-copier@0.3.5: can be upgraded to 0.4.0 - [X] Add go-github-com-mikefarah-yq-v4 - [X] Add go-github-com-pelletier-go-toml-v2 - [X] gnu/packages/golang.scm:4034:13: go-github-com-pelletier-go-toml-v2@2.0.8: can be upgraded to 2.1.1 - [X] Add go-gopkg-in-op-go-logging-v1 - [X] move to golang-xyz - [X] Add yq - [X] Update go-github-com-alecthomas-repr - [X] gnu/packages/golang.scm:7570:13: go-github-com-alecthomas-repr@0.2.0: can be upgraded to 0.3.0 - [X] Update go-github-com-fatih-color - [X] fix gnu/packages/golang.scm:6636:15: go-github-com-fatih-color@1.15.0: permanent redirect from https://godoc.org/github.com/fatih/color to https://pkg.go.dev/github.com/fatih/color?utm_source=godoc - [X] gnu/packages/golang.scm:6617:13: go-github-com-fatih-color@1.15.0: can be upgraded to 1.16.0 - [X] Update go-github-com-goccy-go-json - [X] Update go-github-com-goccy-yaml - [X] gnu/packages/golang.scm:8896:13: go-github-com-goccy-yaml@1.11.0: can be upgraded to 1.11.3 - [X] Update go-github-com-go-playground-universal-translator - [X] gnu/packages/golang.scm:2906:13: go-github-com-go-playground-universal-translator@0.18.0: can be upgraded to 0.18.1 - [X] Update go-github-com-leodido-go-urn - [X] gnu/packages/golang.scm:2812:13: go-github-com-leodido-go-urn@1.2.1: can be upgraded to 1.4.0 - [X] Update go-github-com-magiconair-properties - [X] Update go-github-com-mattn-go-colorable - [X] Update go-github-com-mattn-go-isatty - [X] gnu/packages/golang.scm:4488:13: go-github-com-mattn-go-isatty@0.0.17: can be upgraded to 0.0.20 - [X] Update go-github-com-spf13-cobra - [X] fix gnu/packages/golang.scm:3826:5: go-github-com-spf13-cobra@1.7.0: label 'github.com/spf13/pflag' does not match package name 'go-github-com-spf13-pflag' - [X] gnu/packages/golang.scm:3811:13: go-github-com-spf13-cobra@1.7.0: can be upgraded to 1.8.0 The upgrade for yq to the latest version requires more packaging work and may be scheduled for the next update cycle. - gnu/packages/web.scm:5207:13: go-github-com-mikefarah-yq-v4@4.34.2: can be upgraded to 4.41.1 - gnu/packages/web.scm:5252:2: yq@4.34.2: can be upgraded to 4.41.1 I've checked whether dependent packages are still buildable: --8<---------------cut here---------------start------------->8--- go-gopkg-in-go-playground-validator-v9@9.31.0 fdroidcl@0.7.0 tz@0.6.1 edirect@13.3.20200128 actionlint@1.6.26 r-biocdockermanager@1.11.0 gron@0.7.1 go-github-com-google-go-jsonnet@0.18.0 kubo@0.19.0 aerc@0.15.2 demlo@3.8-0.fe9ec4c yggdrasil@0.5.5 kappanhang@1.3 emacs-envrc@0.6 emacs-direnv@2.2.0 go-github-com-junegunn-fzf@0.41.0 emacs-fzf@0.2-0.21912eb ytfzf@2.6.2 ani-cli@4.8 wego@2.1 go-github-com-itchyny-gojq@0.12.11 gojq@0.12.11 bitmask@0.21.11 restic-rest-server@0.11.0 exercism@3.1.0 go-github-com-wraparound-wrap@0.3.1 csvdiff@1.4.0 hut@0.4.0 lfs-s3@0.1.5 go-github-com-mikefarah-yq-v4@4.34.2 yq@4.34.2 --8<---------------cut here---------------end--------------->8--- Succeeded: --8<---------------cut here---------------start------------->8--- /gnu/store/qlfdg52q5pas3amk8n8gbhwljbdhyvdn-yq-4.34.2 /gnu/store/f6scnwq5x83hs5vayy9ijxg71jpgl9yg-go-github-com-mikefarah-yq-v4-4.34.2 /gnu/store/d9v4l5knzy10mlzzikyfawykw0drc1h3-lfs-s3-0.1.5 /gnu/store/vgwg2djmbj48dfi9liwq1nk9ppsjp8nq-hut-0.4.0 /gnu/store/fi61351qvsypyw5imk2r6ym0aakshs6y-csvdiff-1.4.0 /gnu/store/lxki4506dxq1640xpqapi13533jv6id8-go-github-com-wraparound-wrap-0.3.1 /gnu/store/lr3ccx44dhs4ymhkdvqrcdxssxyndx2k-exercism-3.1.0 /gnu/store/3r1fkrb7hj9c5fbygci21k9n317p1bvn-restic-rest-server-0.11.0 /gnu/store/aiwasa5ns9wbpw124m8v4qfql7d7vs2y-bitmask-0.21.11 /gnu/store/kgsjzdxhavjahcqpb1zi7l303hxf3p8n-gojq-0.12.11 /gnu/store/riyzyl2skiqsn41132z6bqjaf6n0l0kj-go-github-com-itchyny-gojq-0.12.11 /gnu/store/spdak3my2blzk96nv4crf6qj9dnqr7n6-wego-2.1 /gnu/store/bv5sprr5584v1yfrw77pgm9p8lwqd2b2-ani-cli-4.8 /gnu/store/gr4xbp3xvpq5f1i3sz1pzzhhqi7iy8bl-ytfzf-2.6.2 /gnu/store/v5z78964k83avqwc0h4w9xn2yrq72qrb-emacs-fzf-0.2-0.21912eb /gnu/store/ja521cm656pfxdx1ijyx09i4j5qs6sd9-go-github-com-junegunn-fzf-0.41.0 /gnu/store/64qlj41abjg64nb3kr24ffhn6cvc6j91-emacs-direnv-2.2.0 /gnu/store/k5y6d1vxxk1c0d51nhhkij5kvid4v9yk-emacs-envrc-0.6 /gnu/store/bw6584ha6wybg76r7lnvdbkrcbnnmfnj-kappanhang-1.3 /gnu/store/pqaghkkyvr6yq62mn1bhbbwcxr9z9650-yggdrasil-0.5.5 /gnu/store/8m35frnsdkslplqqpvd04844rsx5wvi5-demlo-3.8-0.fe9ec4c /gnu/store/77q7r65cpln59x3b34va398307c4rdyf-aerc-0.15.2 /gnu/store/fbzhvwj1dvazn01r69jylmjskyqhc1pk-kubo-0.19.0 /gnu/store/770nxqpxj0h3np5f5qr3nrjwahk23f54-go-github-com-google-go-jsonnet-0.18.0 /gnu/store/bf0frjxvncd6lkzr3gdycibhsjv16dnv-gron-0.7.1 /gnu/store/wqy0dhlz7206250x3y5r0dn9alvy88f9-r-biocdockermanager-1.11.0 /gnu/store/zj9wh9vplshsd6dp54k33wfnhlajx2x9-actionlint-1.6.26 /gnu/store/3f1qy0jm918nm4h1gnjy6icdi7dwp63r-edirect-13.3.20200128 /gnu/store/5ssnljgksh6lwrwkq4x91pni3i4mzpcp-tz-0.6.1 /gnu/store/7xi5h1gwq6flghhh3qxi66vjw779frj9-fdroidcl-0.7.0 /gnu/store/nfbrqgbld338kgls66fm49jh2hp5hp50-go-gopkg-in-go-playground-validator-v9-9.31.0 --8<---------------cut here---------------end--------------->8--- Failed: - chezmoi@1.8.1 :: Failed for a long time, fix is queued https://issues.guix.gnu.org/69136 - emacs-ghq@0.2.0 :: Failed due to go-github-com-songmu-gitconfig, the update requires 11 packages because of a new dependence in version 0.2.0 - github.com/cli/go-gh v0.1.0. The update may be covered after this https://issues.guix.gnu.org/4753 is reviewed. Pushed as cf842e9b20..5e556a19d2 to master. -- Oleg [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 832 bytes --] ^ permalink raw reply [flat|nested] 44+ messages in thread
end of thread, other threads:[~2024-02-16 14:28 UTC | newest] Thread overview: 44+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-07-28 9:05 [bug#64916] [PATCH 00/18] gnu: Add yq Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 01/18] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 02/18] gnu: Add go-github-com-hexops-gotextdiff Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 03/18] gnu: go-github-com-alecthomas-repr: Update to 0.2.0 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 04/18] gnu: Add go-github-com-alecthomas-assert-v2 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 05/18] gnu: Add go-github-com-alecthomas-participle-v2 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 06/18] gnu: Add go-github-com-dimchansky-utfbom Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 07/18] gnu: Add go-github-com-elliotchance-orderedmap Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 08/18] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 09/18] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 10/18] gnu: go-github-com-fatih-color: Update to 1.15.0 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 11/18] gnu: go-github-com-goccy-go-json: Update to 0.10.2 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 12/18] gnu: Add go-github-com-jinzhu-copier Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 13/18] gnu: go-github-com-magiconair-properties: Update to 1.8.7 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 14/18] gnu: Add go-github-com-pelletier-go-toml-v2 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 15/18] gnu: go-github-com-spf13-cobra: Update to 1.7.0 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 16/18] gnu: Add go-gopkg-in-op-go-logging-v1 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 17/18] gnu: Add go-github-com-mikefarah-yq-v4 Hilton Chain via Guix-patches via 2023-07-28 9:07 ` [bug#64916] [PATCH 18/18] gnu: Add yq Hilton Chain via Guix-patches via 2023-07-28 17:16 ` [bug#64916] [PATCH v2 00/23] " Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 01/23] gnu: Add go-github-com-a8m-envsubst Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 02/23] gnu: Add go-github-com-hexops-gotextdiff Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 03/23] gnu: go-github-com-alecthomas-repr: Update to 0.2.0 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 04/23] gnu: Add go-github-com-alecthomas-assert-v2 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 05/23] gnu: Add go-github-com-alecthomas-participle-v2 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 06/23] gnu: Add go-github-com-dimchansky-utfbom Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 07/23] gnu: Add go-github-com-elliotchance-orderedmap Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 08/23] gnu: go-github-com-mattn-go-isatty: Update to 0.0.17 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 09/23] gnu: go-github-com-mattn-go-colorable: Update to 0.1.13 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 10/23] gnu: go-github-com-fatih-color: Update to 1.15.0 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 11/23] gnu: go-github-com-goccy-go-json: Update to 0.10.2 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 12/23] gnu: go-github-com-go-playground-universal-translator: Update to 0.18.0 Hilton Chain via Guix-patches via 2023-07-28 17:19 ` [bug#64916] [PATCH v2 13/23] gnu: go-github-com-leodido-go-urn: Update to 1.2.1 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 14/23] gnu: Add go-github-com-go-playground-assert-v2 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 15/23] gnu: Add go-github-com-go-playground-validator-v10 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 16/23] gnu: go-github-com-goccy-yaml: Update to 1.11.0 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 17/23] gnu: Add go-github-com-jinzhu-copier Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 18/23] gnu: go-github-com-magiconair-properties: Update to 1.8.7 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 19/23] gnu: Add go-github-com-pelletier-go-toml-v2 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 20/23] gnu: go-github-com-spf13-cobra: Update to 1.7.0 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 21/23] gnu: Add go-gopkg-in-op-go-logging-v1 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 22/23] gnu: Add go-github-com-mikefarah-yq-v4 Hilton Chain via Guix-patches via 2023-07-28 17:20 ` [bug#64916] [PATCH v2 23/23] gnu: Add yq Hilton Chain via Guix-patches via 2024-02-16 14:26 ` bug#64916: [PATCH 00/18] " Sharlatan Hellseher
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.