gnu: emacs-evil-commentary: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-evil-commentary)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:27:16 +02:00
parent 1f0ea0173d
commit ee9ee9946f
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -7216,14 +7216,13 @@ (define-public emacs-evil-commentary
(version "2.1.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/linktohack/evil-commentary/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/linktohack/evil-commentary.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1jdya0i921nwskwrzdsj0vrr3m7gm49dy6f6pk9p5nxaarfxk230"))))
(base32 "0zjs9zyqfygnpxapvf0ymmiid40i06cxbhjzd81zw33nafgkf6r4"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-evil" ,emacs-evil)))