nckx pushed a commit to branch master
in repository guix.
commit d536083f3353aed7fab6b88b3d1758f3f1e33884
Author: Tobias Geerinckx-Rice <[email protected]>
AuthorDate: Sun Oct 3 17:15:19 2021 +0200
gnu: freeorion: Don't use unstable tarball.
* gnu/packages/games.scm (freeorion)[source]: Use GIT-FETCH and
GIT-FILE-NAME. Remove explicit #t snippet return value.
---
gnu/packages/games.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 419a114..cbdc38d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10032,18 +10032,18 @@ win.")
(version "0.4.10")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://github.com/freeorion/freeorion/releases/"
- "download/v" version "/FreeOrion_v" version
- "_2020-07-10.f3d403e_Source.tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/freeorion/freeorion")
+ (commit (string-append "v" version))))
(sha256
- (base32 "12xspixrkx6mmmsdqjha0hg02r4y73pk229l0wjq9s0yp8nb8ap7"))
+ (base32 "1hq212pbsqpgn193wkvcl45m8bjvx730486xkffivylxgbiyvv2c"))
+ (file-name (git-file-name name version))
(modules '((guix build utils)))
(snippet
'(begin
;; There are some bundled fonts.
- (for-each delete-file-recursively '("default/data/fonts"))
- #t))))
+ (for-each delete-file-recursively '("default/data/fonts"))))))
(build-system cmake-build-system)
(arguments
'(#:tests? #f ;no test