gnu: emacs-simple-httpd: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-simple-httpd)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-04 18:35:49 +02:00
parent 517da53082
commit 8d7c4b610f
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 6 deletions

View File

@ -2403,13 +2403,13 @@ as horizontal rules.")
(version "1.4.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/skeeto/emacs-web-server/"
"archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/skeeto/emacs-web-server.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"01r7h3imnj4qx1m53a2wjafvbylcyz5f9r2rg2cs7ky3chlg220r"))))
(base32 "1qmkc0w28l53zzf5yd2grrk1sq222g5qnsm35ph25s1cfvc1qb2g"))))
(build-system emacs-build-system)
(home-page "https://github.com/skeeto/emacs-http-server")
(synopsis "HTTP server in pure Emacs Lisp")