diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-03-29 00:39:58 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-03-29 00:39:58 +0100 |
commit | 7c8ed745169adb7e63a47181a2c79936393e759f (patch) | |
tree | 0e432601298b7fa27e0c6ad1f751ba34f17932f3 /gnu | |
parent | 0922354d6a9db1544a85dd55b3237de87efb39fd (diff) | |
download | guix-7c8ed745169adb7e63a47181a2c79936393e759f.tar.gz |
gnu: freedoom: Don't use unstable tarball.
* gnu/packages/games.scm (freedoom)[source]: Use GIT-FETCH and GIT-FILE-NAME.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/games.scm | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index dcc2a266e2..842d2bc4f5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -446,14 +446,15 @@ tired of cows, a variety of other ASCII-art messengers are available.") (package (name "freedoom") (version "0.11.3") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/" name "/" name - "/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1bjijdfqhpazyifx1qda7scj7dry1azhjrnl8h8zn2vqfgdmlh0q")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/freedoom/freedoom.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0k4dlgr82qk6i7dchp3nybq6awlfag2ivy3zzl1v6vhcrnbvssgl")))) (build-system gnu-build-system) (arguments '(#:make-flags `(,(string-append "prefix=" (assoc-ref %outputs "out"))) |