~ruther/guix-local

0d6f602b6c4d4542bb09926d03bde0eb31c33ff6 — Sharlatan Hellseher 1 year, 4 months ago 00e6852
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
M gnu/packages/check.scm => gnu/packages/check.scm +1 -1
@@ 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")

M gnu/packages/databases.scm => gnu/packages/databases.scm +1 -1
@@ 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

M gnu/packages/education.scm => gnu/packages/education.scm +1 -1
@@ 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

M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +4 -3
@@ 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

M gnu/packages/golang-xyz.scm => gnu/packages/golang-xyz.scm +37 -7
@@ 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."))))

M gnu/packages/networking.scm => gnu/packages/networking.scm +1 -1
@@ 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

M gnu/packages/textutils.scm => gnu/packages/textutils.scm +2 -1
@@ 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