guix-commits
[Top][All Lists]
Advanced

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

82/203: gnu: emacs-linum-relative: Don't use unstable tarball.


From: guix-commits
Subject: 82/203: gnu: emacs-linum-relative: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 14:57:24 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 7896c19c1cc2ca3121b3c1ee9c544890c569692c
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Apr 8 23:24:33 2019 +0200

    gnu: emacs-linum-relative: Don't use unstable tarball.
    
    * gnu/packages/emacs-xyz.scm (emacs-linum-relative)[source]: Use GIT-FETCH 
and
    GIT-FILE-NAME.
---
 gnu/packages/emacs-xyz.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d669eb1..e73b20c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6296,14 +6296,13 @@ memoizing functions.")
     (version "0.5")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/coldnew/linum-relative/archive/";
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/coldnew/linum-relative.git";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
+        (base32 "11bjnqqwvr9zrvz5dlm8a0yw4zg9ysh3jdiq5a6iw09d3f0h1v2s"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/coldnew/linum-relative";)
     (synopsis "Relative line numbering for Emacs")



reply via email to

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