gnu: emacs-ansi: Don't use unstable tarball.

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

View file

@ -7241,13 +7241,13 @@ (define-public emacs-ansi
(version "0.4.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/rejeep/ansi.el/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/rejeep/ansi.el.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"13jj4vbi98j3p17hs99bmy7g21jd5h4v3wpxk4pkvhylm3bfwjw8"))))
(base32 "1hbddxarr40ygvaw4pwaivq2l4f0brszw73w1r50lkjlggb7bl3g"))))
(build-system emacs-build-system)
(propagated-inputs
`(("emacs-dash" ,emacs-dash)