guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: ruby-yard: Don't use unstable tarball.


From: guix-commits
Subject: 03/03: gnu: ruby-yard: Don't use unstable tarball.
Date: Mon, 30 Dec 2019 13:05:36 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit f3fd70c00e242ecc5c59323f4d7ebe3fcaa9ec4d
Author: Efraim Flashner <address@hidden>
Date:   Mon Dec 30 16:20:38 2019 +0200

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

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a82e39b..ad675dc 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -5753,14 +5753,15 @@ A modified copy of yajl is used, and included in the 
package.")
     (version "0.9.16")
     (source
      (origin
-       (method url-fetch)
+       (method git-fetch)
        ;; Tests do not pass if we build from the distributed gem.
-       (uri (string-append "https://github.com/lsegal/yard/archive/v";
-                           version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (git-reference
+              (url "https://github.com/lsegal/yard";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0sqpbayy9sb406jh0zqg6qha1xds863qz9531dh6vp58hc00clfq"))))
+         "0a4r1pfs0ms4vlccsf1x2jckx35lqm8b8lh6rdjxqfr5fia5izpf"))))
     (build-system ruby-build-system)
     (arguments
      `(#:phases



reply via email to

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