guix-commits
[Top][All Lists]
Advanced

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

263/285: gnu: ruby-ansi: Don't use unstable tarball.


From: guix-commits
Subject: 263/285: gnu: ruby-ansi: Don't use unstable tarball.
Date: Sun, 29 Dec 2019 20:44:44 -0500 (EST)

kkebreau pushed a commit to branch wip-gnome3.34
in repository guix.

commit ca653274c74dda6746796523a05747bbafad8046
Author: Efraim Flashner <address@hidden>
Date:   Sat Dec 28 22:50:23 2019 +0200

    gnu: ruby-ansi: Don't use unstable tarball.
    
    * gnu/packages/ruby.scm (ruby-ansi)[source]: Download using git-fetch.
---
 gnu/packages/ruby.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0d64e05..c95123d 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -6578,14 +6578,15 @@ requests either using arguments or with an interactive 
prompt.")
     (version "1.5.0")
     (source
      (origin
-       (method url-fetch)
+       (method git-fetch)
        ;; Fetch from GitHub as the gem does not contain testing code.
-       (uri (string-append "https://github.com/rubyworks/ansi/archive/";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (git-reference
+              (url "https://github.com/rubyworks/ansi";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "1zdip30hivyipi8hndhb457bhiz033awd00bgrsk5axjrwp6zhly"))))
+         "1wsz7xxwl3vkh277jb7fd7akqnqqgbvalxzpjwniiqk8ghfprbi5"))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases
@@ -6616,7 +6617,7 @@ methods, a @code{Mixin} module for including color 
methods, a @code{Logger}, a
 @code{ProgressBar}, and a @code{String} subclass.  The library also includes a
 @code{Terminal} module which provides information about the current output
 device.")
-    (home-page "https://rubyworks.github.io/ansi";)
+    (home-page "https://rubyworks.github.io/ansi/";)
     (license license:bsd-2)))
 
 (define-public ruby-systemu



reply via email to

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