gnu: emacs-highlight-sexp: Don't use unstable tarball.

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

View file

@ -6361,14 +6361,13 @@ (define-public emacs-highlight-sexp
(version "1.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/daimrod/highlight-sexp/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/daimrod/highlight-sexp.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0jwx87qkln1rg9wmv4qkgkml935fh2pkgrg5x4ca6n5dgb4q6rj1"))))
(base32 "12cyk2q5g6p4ac2hykw1cag7dp1prjjnck5f7nalwwaklmy62y79"))))
(build-system emacs-build-system)
(home-page "https://github.com/daimrod/highlight-sexp")
(synopsis "Minor mode that highlights the s-exp at the current position")