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

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

View file

@ -6534,14 +6534,13 @@ (define-public emacs-diminish
(version "0.45")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/myrjola/diminish.el/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/myrjola/diminish.el.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0i3629sv5cfrrb00hcnmaqzgs8mk36yasc1ax3ry1ga09nr6rkj9"))))
(base32 "0qpgfgp8hrzz4vdifxq8h25n0a0jlzgf7aa1fpy6r0080v5rqbb6"))))
(build-system emacs-build-system)
(home-page "https://github.com/myrjola/diminish.el")
(synopsis "Diminish minor modes with no modeline display")