gnu: websockify: Don't use unstable tarball.

* gnu/packages/web.scm (websockify)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-10 21:36:23 +01:00
parent 2772debc74
commit 34920d2adf
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 5 deletions

View File

@ -993,13 +993,14 @@ of people.")
(name "websockify") (name "websockify")
(version "0.8.0") (version "0.8.0")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/novnc/websockify/archive/v" (uri (git-reference
version "/archive.tar.gz")) (url "https://github.com/novnc/websockify.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h")))) "0pcic8qs0gdwrfjgfaf893jyddaw97wcjm2mmvwn0xyhmy8mbmw1"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No module