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

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

View file

@ -10770,14 +10770,13 @@ (define-public emacs-highlight-numbers
(version "0.2.3")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/Fanael/highlight-numbers/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/Fanael/highlight-numbers.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"030v5p11d4n0581ncv499l1fqrmfziy756q6378x2bv22ixghqqp"))))
(base32 "1r07mpyr7rhd7bkg778hx6vbhb4n9ixgzkpszhgks7ri6ia38pj8"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-parent-mode" ,emacs-parent-mode)))