guix_mirror_bot pushed a commit to branch go-team in repository guix. commit 4a9ab2340fe59c576ef35d1e0ea728f36f14ec44 Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sun Jun 8 13:47:37 2025 +0100
gnu: go-github-com-olekukonko-tablewriter: Update to 1.0.7. * gnu/packages/golang-xyz.scm (go-github-com-olekukonko-tablewriter): Update to 1.0.7. [arguments] <go>: Use go-1.23. [propagated-inputs]: Add go-github-com-fatih-color, go-github-com-olekukonko-errors, and go-github-com-olekukonko-ll. [native-inputs]: Add go-github-com-olekukonko-ts. (go-csv2table) [arguments]: Inherit instead of overwrite. [native-inputs]: Merge native and propagated inputs. [propagated-inputs]: Drop all. [inputs]: Drop all. (go-github-com-olekukonko-tablewriter-0.0.5): New variable. (go-github-com-charmbracelet-glamour-0.3) [propagated-inputs]: Remove go-github-com-olekukonko-tablewriter; add go-github-com-olekukonko-tablewriter-0.0.5. * gnu/packages/golang-web.scm (go-github-com-jaytaylor-html2text, go-github-com-yggdrasil-network-yggdrasil-go): [propagated-inputs]: Remove go-github-com-olekukonko-tablewriter; add go-github-com-olekukonko-tablewriter-0.0.5. * gnu/packages/networking.scm (yggdrasil): Likewise. * gnu/packages/check.scm (checkmake) [native-inputs]: Remove go-github-com-olekukonko-tablewriter; add go-github-com-olekukonko-tablewriter-0.0.5. * gnu/packages/databases.scm (sqls): Likewise. * gnu/packages/education.scm (cf-tool): Likewise. * gnu/packages/textutils.scm (vale) [arguments] <go>: Use go-1.23. [native-inputs]: Remove go-github-com-olekukonko-tablewriter; add go-github-com-olekukonko-tablewriter-0.0.5. Change-Id: Idefcb19961d22702de0cd6da912d9c964048fe8b --- gnu/packages/check.scm | 2 +- gnu/packages/databases.scm | 2 +- gnu/packages/education.scm | 2 +- gnu/packages/golang-web.scm | 7 ++++--- gnu/packages/golang-xyz.scm | 44 +++++++++++++++++++++++++++++++++++++------- gnu/packages/networking.scm | 2 +- gnu/packages/textutils.scm | 3 ++- 7 files changed, 47 insertions(+), 15 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 657969b759..d99718b901 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -413,7 +413,7 @@ source code editors and IDEs.") (native-inputs (list go-github-com-docopt-docopt-go go-github-com-go-ini-ini - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-stretchr-testify go-md2man)) (home-page "https://github.com/mrtazz/checkmake") diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 1ad7fed5ad..b095d71d30 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -6169,7 +6169,7 @@ relational databases are in general.") go-github-com-lib-pq go-github-com-mattn-go-runewidth go-github-com-mattn-go-sqlite3 - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-pkg-errors go-github-com-sourcegraph-jsonrpc2 go-golang-org-x-crypto diff --git a/gnu/packages/education.scm b/gnu/packages/education.scm index 687ad6e65c..e259a3fe64 100644 --- a/gnu/packages/education.scm +++ b/gnu/packages/education.scm @@ -129,7 +129,7 @@ go-github-com-fatih-color go-github-com-k0kubun-go-ansi go-github-com-mitchellh-go-homedir - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-puerkitobio-goquery go-github-com-sergi-go-diff go-github-com-shirou-gopsutil diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 913b968b6c..6370dcc60f 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -4694,10 +4694,11 @@ port mapping and discovering the external IP address of a firewall.") (("jaytaylor.com/html2text") "github.com/jaytaylor/html2text")))))) (build-system go-build-system) (arguments - (list #:import-path "github.com/jaytaylor/html2text")) + (list + #:import-path "github.com/jaytaylor/html2text")) (propagated-inputs (list go-golang-org-x-net - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-ssor-bom)) (home-page "https://github.com/jaytaylor/html2text") (synopsis "Convert HTML emails to text") @@ -9922,7 +9923,7 @@ connection management for @url{https://github.com/xtaci/kcp-go,kcp-go}.") go-github-com-hashicorp-go-syslog go-github-com-hjson-hjson-go-v4 go-github-com-kardianos-minwinsvc - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-quic-go-quic-go go-github-com-vishvananda-netlink go-github-com-wlynxg-anet diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 5e48d71b4e..db812ecac2 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -2986,7 +2986,7 @@ glamorous default themes.") (replace "go-github-com-alecthomas-chroma-v2" go-github-com-alecthomas-chroma) (append go-github-com-dlclark-regexp2 - go-github-com-olekukonko-tablewriter)))))) + go-github-com-olekukonko-tablewriter-0.0.5)))))) (define-public go-github-com-charmbracelet-harmonica (package @@ -13542,7 +13542,7 @@ fine-grained log control, extensibility, and scalability.") (define-public go-github-com-olekukonko-tablewriter (package (name "go-github-com-olekukonko-tablewriter") - (version "0.0.5") + (version "1.0.7") (source (origin (method git-fetch) @@ -13551,13 +13551,19 @@ fine-grained log control, extensibility, and scalability.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0zhnrih2px6jm8nxzkz8s7va3lj03bzwxim8wjba9zh7i78bp67z")))) + (base32 "1ycpp98j8xzgfq87f9vqzh8mncai142l1r32qrz3m47sx88pk69s")))) (build-system go-build-system) (arguments (list + #:go go-1.23 #:import-path "github.com/olekukonko/tablewriter")) + (native-inputs + (list go-github-com-olekukonko-ts)) ; for CLI <cmd/csv2table> (propagated-inputs - (list go-github-com-mattn-go-runewidth)) + (list go-github-com-fatih-color + go-github-com-mattn-go-runewidth + go-github-com-olekukonko-errors + go-github-com-olekukonko-ll)) (home-page "https://github.com/olekukonko/tablewriter/") (synopsis "Generate ASCII table") (description "This package generates ASCII tables. Features: @@ -13580,6 +13586,22 @@ fine-grained log control, extensibility, and scalability.") @end itemize") (license license:expat))) +(define-public go-github-com-olekukonko-tablewriter-0.0.5 + ;; XXX: Pinned older version as upstream did not migrated to the latest one, + ;; remove it when no longer required. + (hidden-package (package (inherit go-github-com-olekukonko-tablewriter) + (name "go-github-com-olekukonko-tablewriter") + (version "0.0.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/olekukonko/tablewriter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zhnrih2px6jm8nxzkz8s7va3lj03bzwxim8wjba9zh7i78bp67z"))))))) + (define-public go-github-com-olekukonko-ts (package (name "go-github-com-olekukonko-ts") @@ -20796,9 +20818,17 @@ tool.")))) (package/inherit go-github-com-olekukonko-tablewriter (name "go-csv2table") (arguments - (list #:install-source? #f - #:import-path "github.com/olekukonko/tablewriter/csv2table" - #:unpack-path "github.com/olekukonko/tablewriter")) + (substitute-keyword-arguments + (package-arguments go-github-com-olekukonko-tablewriter) + ((#:tests? _ #t) #f) + ((#:install-source? _ #t) #f) + ((#:import-path _) "github.com/olekukonko/tablewriter/cmd/csv2table") + ((#:unpack-path _ "") "github.com/olekukonko/tablewriter"))) + (native-inputs + (append (package-native-inputs go-github-com-olekukonko-tablewriter) + (package-propagated-inputs go-github-com-olekukonko-tablewriter))) + (propagated-inputs '()) + (inputs '()) (description (string-append (package-description go-github-com-olekukonko-tablewriter) "\nThis package provides a command line interface (CLI) tool.")))) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 85a4e48e8e..d1815cf445 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -4806,7 +4806,7 @@ implementing them.") go-github-com-hashicorp-go-syslog go-github-com-hjson-hjson-go-v4 go-github-com-kardianos-minwinsvc - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-quic-go-quic-go go-github-com-vishvananda-netlink go-github-com-wlynxg-anet diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 391ba4c7b0..4fc40356b0 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1509,6 +1509,7 @@ of a Unix terminal to HTML code.") (build-system go-build-system) (arguments (list + #:go go-1.23 #:install-source? #f #:embed-files #~(list ".*\\.gob") #:import-path "github.com/errata-ai/vale/cmd/vale" @@ -1545,7 +1546,7 @@ of a Unix terminal to HTML code.") go-github-com-masterminds-sprig-v3 go-github-com-mitchellh-mapstructure go-github-com-niklasfasching-go-org - go-github-com-olekukonko-tablewriter + go-github-com-olekukonko-tablewriter-0.0.5 go-github-com-otiai10-copy go-github-com-pelletier-go-toml-v2 go-github-com-pterm-pterm