guix-commits
[Top][All Lists]
Advanced

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

08/203: gnu: git-imerge: Don't use unstable tarball.


From: guix-commits
Subject: 08/203: gnu: git-imerge: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 14:57:04 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 5c54debc2feef4732ddc95c83effdeba7c322b34
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Mar 30 20:34:28 2019 +0100

    gnu: git-imerge: Don't use unstable tarball.
    
    * gnu/packages/version-control.scm (git-imerge)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/version-control.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index bb700b2..692c29d 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2098,18 +2098,18 @@ how information about the merge is displayed.")
   (package
     (name "git-imerge")
     (version "1.1.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/mhagger/git-imerge/archive/v";
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "0a6ay8fpgz3yd84jc40w41x0rcfpan6bcq4wd1hxiiqwb51jysb2"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/mhagger/git-imerge.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0vi1w3f0yk4gqhxj2hzqafqq28rihyhyfnp8x7xzib96j2si14a4"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f  ; The are only manual test scripts.
+     `(#:tests? #f                      ; only manual test scripts
        #:make-flags (list (string-append "DESTDIR=" %output)
                           "PREFIX=")
        #:phases



reply via email to

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