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

* gnu/packages/emacs-xyz.scm (emacs-evil-surround)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:27:05 +02:00
parent f39c7c4af7
commit 1f0ea0173d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 7 deletions

View File

@ -7194,14 +7194,13 @@ pressed simultaneously or a single key quickly pressed twice.")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/timcharper/evil-surround/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/timcharper/evil-surround.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0p572jgic3q1ia1nz37kclir729ay6i2f4sa7wnaapyxly2lwb3r"))))
(base32 "1smv7sqhm1l2bi9fmispnlmjssidblwkmiiycj1n3ag54q27z031"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-evil" ,emacs-evil)))