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.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:24:33 +02:00
parent 54b29af03c
commit 7896c19c1c
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 7 deletions

View File

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