guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit f36ed7a9bff76d36270d27cb5534783f9bfa8153
Author: Sharlatan Hellseher <[email protected]>
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 9660cff1c7..881d36c499 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -415,7 +415,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 394866c903..a7fc19f5c1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -6291,7 +6291,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 224ce19b40..6490002680 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 4168f8ab3f..0330318d82 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -4988,10 +4988,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")
@@ -10737,7 +10738,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 2bcc2c9a9d..397b644175 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3163,7 +3163,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
@@ -14979,7 +14979,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)
@@ -14988,13 +14988,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:
@@ -15017,6 +15023,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")
@@ -22790,9 +22812,17 @@ streaming.")
(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 1db090b1a3..82b67d3e4b 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4852,7 +4852,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 02d19a743e..dc5c7c6849 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1629,6 +1629,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"
@@ -1665,7 +1666,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