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

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

View File

@ -6654,14 +6654,13 @@ fonts is supported.")
(version "0.5")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/philjackson/xmlgen/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/philjackson/xmlgen.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0zay490vjby3f7455r0vydmjg7q1gwc78hilpfb0rg4gwz224z8r"))))
(base32 "096i29v0badx0a6339h9ckdz78zj59gbjdp7vj7vhkq9d830392s"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t