gnu: red-eclipse: Don't use unstable tarball.

* gnu/packages/games.scm (red-eclipse)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-29 02:23:12 +01:00
parent 586d30caa2
commit bb7c071b94
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2941,16 +2941,17 @@ (define-public red-eclipse
release release
(string-append release "-" (string-append release "-"
(number->string revision)))) (number->string revision))))
(source (origin (source
(method url-fetch) (origin
(uri (string-append "https://github.com/red-eclipse/base" (method git-fetch)
"/archive/v" release ".tar.gz")) (uri (git-reference
(file-name (string-append name "-" version ".tar.gz")) (url "https://github.com/red-eclipse/base.git")
(sha256 (commit (string-append "v" release))))
(base32 (file-name (git-file-name name version))
"1vs9k6f5fgsiy1n72imlqm8khjwm8cryc08zwd4gr7yxlxv45bs0")) (sha256
(patches (base32 "0qy9kmq21wc4bdhwifasxc5dv1y5c53sn7dfmyc5y3zyz8wjyij4"))
(search-patches "red-eclipse-remove-gamma-name-hack.patch")))) (patches
(search-patches "red-eclipse-remove-gamma-name-hack.patch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; no check target `(#:tests? #f ; no check target