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
1 changed files with 6 additions and 7 deletions

View File

@ -7216,14 +7216,13 @@ addition of surrounding pairs, such as parantheses and quotes, in evil mode.")
(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)))