guix_mirror_bot pushed a commit to branch go-team
in repository guix.

commit 4dc6f0c86b66782a3f5aed8226b4f01e30d83a5c
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 8ceb58b7e4..b3378e36a1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -414,7 +414,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 2729d076ee..877aeacb3a 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -6255,7 +6255,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 92596942cd..00503123e6 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 e9f252887c..205dda4dfb 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -4752,10 +4752,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")
@@ -9990,7 +9991,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 70933699ed..b00ed34585 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3032,7 +3032,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
@@ -14227,7 +14227,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)
@@ -14236,13 +14236,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:
@@ -14265,6 +14271,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")
@@ -21582,9 +21604,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 fa24173645..0cf1a23dbd 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4851,7 +4851,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 7bde48ffe3..ecfdbd0e0a 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1614,6 +1614,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"
@@ -1650,7 +1651,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

Reply via email to