gnu: emacs-anzu: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-anzu)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:34:30 +02:00
parent 133ebfd045
commit c8ab5320e5
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -8754,13 +8754,13 @@ (define-public emacs-anzu
(version "0.62")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/syohex/emacs-anzu/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/syohex/emacs-anzu.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"16cg3897x5znbmgk7sdy0qyd0fbic9dmmz0dchq2vz5z29yhg4cz"))))
(base32 "1lzvc0ihcbplir4hqfyxfqpsd78arz15gk92kmq4f8ggbkl37fan"))))
(build-system emacs-build-system)
(home-page "https://github.com/syohex/emacs-anzu")
(synopsis "Show number of matches in mode-line while searching")