diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index b6c767e3bfa..25f510f6642 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 2495d659b41..f18cec74dbe 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -6131,7 +6131,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 68aaebd969e..3b610441098 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 4168f8ab3f3..0330318d823 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 2bcc2c9a9dc..397b644175d 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 (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 1db090b1a36..82b67d3e4bd 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 02d19a743ee..dc5c7c6849e 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