guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: makefile2graph: Don't use unstable tarball.


From: guix-commits
Subject: 05/09: gnu: makefile2graph: Don't use unstable tarball.
Date: Sun, 3 Nov 2019 01:57:19 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 104264cd3a49fab79cdb55585922e6694e109b17
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sun Nov 3 06:18:36 2019 +0100

    gnu: makefile2graph: Don't use unstable tarball.
    
    * gnu/packages/code.scm (makefile2graph)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/code.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index f0943c6..67a2f80 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -515,14 +515,15 @@ produce colored output.")
   (package
     (name "makefile2graph")
     (version "1.5.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/lindenb/"; name
-                                  "/archive/v" version ".tar.gz"))
-              (sha256
-               (base32
-                "0h1vchkpmm9h6s87p5nf0ksjxcmsxpx8k62a508w428n570wcr4l"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/lindenb/makefile2graph.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1gjfk3d8qg3cla7qd2y7r9s03whlfwy83q8k76xfcnqrjjfavdgk"))))
     (build-system gnu-build-system)
     (arguments
      '(#:test-target "test"



reply via email to

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