summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Covrig <aarcov@gmail.com>2026-02-27 23:26:19 -0500
committerAndreas Enge <andreas@enge.fr>2026-08-28 16:40:50 +0200
commit56bf59b76ef7b833dcb4aa878b3f04467210ab2a (patch)
tree7fc36c57b893a31d14932068cdf948d873b9dbe5
parent6fa70efbfb0f3c0233cfbed63375fdcdbe74aba3 (diff)
gnu: ruby-terminal-table: Update to 4.0.0.
* gnu/packages/ruby-xyz.scm (ruby-terminal-table): Update to 4.0.0. [native-inputs]: Remove ruby-term-ansicolor. Change-Id: Idde31b70c3e0e8e18a99e38a7344ac339a9d24bf Signed-off-by: Steve George <steve@futurile.net>
-rw-r--r--gnu/packages/ruby-xyz.scm57
1 files changed, 28 insertions, 29 deletions
diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 30417513eaf..c1d85fba7f1 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -14531,39 +14531,38 @@ Pathname.")
14531(define-public ruby-terminal-table 14531(define-public ruby-terminal-table
14532 (package 14532 (package
14533 (name "ruby-terminal-table") 14533 (name "ruby-terminal-table")
14534 (version "3.0.2") 14534 (version "4.0.0")
14535 (source (origin 14535 (source
14536 (method git-fetch) 14536 (origin
14537 (uri (git-reference 14537 (method git-fetch)
14538 (url "https://github.com/tj/terminal-table") 14538 (uri (git-reference
14539 (commit (string-append "v" version)))) 14539 (url "https://github.com/tj/terminal-table")
14540 (file-name (git-file-name name version)) 14540 (commit (string-append "v" version))))
14541 (sha256 14541 (file-name (git-file-name name version))
14542 (base32 14542 (sha256
14543 "1c3f7ng3lxq962n8sbmlsvjx6srh5i801wzsyhxmfz2g880f5jps")))) 14543 (base32 "17s0zvbix72d5ivv1mqi9hyzqrippn01spglj6zg3g18v4vkg0lk"))))
14544 (arguments 14544 (arguments
14545 '(#:phases 14545 '(#:phases (modify-phases %standard-phases
14546 (modify-phases %standard-phases 14546 (add-before 'check 'remove-unnecessary-dependencies
14547 (add-before 'check 'remove-unnecessary-dependencies 14547 (lambda _
14548 (lambda _ 14548 (substitute* "terminal-table.gemspec"
14549 (substitute* "terminal-table.gemspec" 14549 (("s.add_runtime_dependency.*")
14550 (("s.add_runtime_dependency.*") "\n") 14550 "\n")
14551 (("s.add_development_dependency.*") "\n")) 14551 (("s.add_development_dependency.*")
14552 (substitute* "Gemfile" 14552 "\n"))
14553 ((".*tins.*") "\n")))) 14553 (substitute* "Gemfile"
14554 (replace 'check 14554 ((".*tins.*")
14555 (lambda* (#:key tests? #:allow-other-keys) 14555 "\n"))))
14556 (when tests? 14556 (replace 'check
14557 (invoke "rspec"))))))) 14557 (lambda* (#:key tests? #:allow-other-keys)
14558 (when tests?
14559 (invoke "rspec")))))))
14558 (build-system ruby-build-system) 14560 (build-system ruby-build-system)
14559 (propagated-inputs 14561 (propagated-inputs (list ruby-unicode-display-width))
14560 (list ruby-unicode-display-width)) 14562 (native-inputs (list ruby-rspec))
14561 (native-inputs
14562 (list ruby-rspec ruby-term-ansicolor))
14563 (home-page "https://github.com/tj/terminal-table") 14563 (home-page "https://github.com/tj/terminal-table")
14564 (synopsis "Simple, feature rich ASCII table generation library") 14564 (synopsis "Simple, feature rich ASCII table generation library")
14565 (description 14565 (description "Terminal Table is a fast and simple, yet feature rich
14566 "Terminal Table is a fast and simple, yet feature rich
14567table generator written in Ruby. It supports ASCII and 14566table generator written in Ruby. It supports ASCII and
14568Unicode formatted tables.") 14567Unicode formatted tables.")
14569 (license license:expat))) 14568 (license license:expat)))