guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

187/229: gnu: ruby-terminal-table: Update to 3.0.2.


From: guix-commits
Subject: 187/229: gnu: ruby-terminal-table: Update to 3.0.2.
Date: Tue, 28 Mar 2023 22:29:21 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 60ea0da654bb9fa42cda89dae84cc67e0a73647c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Mar 15 16:31:40 2023 -0400

    gnu: ruby-terminal-table: Update to 3.0.2.
    
    * gnu/packages/ruby.scm (ruby-terminal-table): Update to 3.0.2.
    [source]: Fetch via git.
    [arguments]: Delete remove-gemfile-lock phase.
    [native-inputs]: Add ruby-term-ansicolor.
---
 gnu/packages/ruby.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0527e65970..aa1e6210e0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -13183,20 +13183,19 @@ Pathname.")
 (define-public ruby-terminal-table
   (package
     (name "ruby-terminal-table")
-    (version "2.0.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (rubygems-uri "terminal-table" version))
-       (sha256
-        (base32
-         "18rbrh464ysqbdv53iwj0r8frshn65566kyj044cp3x9c2754jwh"))))
+    (version "3.0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/tj/terminal-table";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1c3f7ng3lxq962n8sbmlsvjx6srh5i801wzsyhxmfz2g880f5jps"))))
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'remove-gemfile-lock
-           (lambda _
-             (delete-file "Gemfile.lock")))
          (add-before 'check 'remove-unnecessary-dependencies
            (lambda _
              (substitute* "terminal-table.gemspec"
@@ -13212,7 +13211,7 @@ Pathname.")
     (propagated-inputs
      (list ruby-unicode-display-width))
     (native-inputs
-     (list ruby-rspec))
+     (list ruby-rspec ruby-term-ansicolor))
     (home-page "https://github.com/tj/terminal-table";)
     (synopsis "Simple, feature rich ASCII table generation library")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]