diff options
author | Florian Friesdorf <flo@chaoflow.net> | 2012-11-26 14:22:27 +0100 |
---|---|---|
committer | Florian Friesdorf <flo@chaoflow.net> | 2012-11-26 14:32:03 +0100 |
commit | 7d717444e5d6260519702314d30583b894f5bbb2 (patch) | |
tree | fe3e7d30d83fe1153bb35b8ea005f3644265b5fd /pkgs/games/zdoom | |
parent | bc6627c6e96d108d5c621c2a9b51f6ea1d2b51f6 (diff) |
zdoom 2.6.1 (instead of svn)
Diffstat (limited to 'pkgs/games/zdoom')
-rw-r--r-- | pkgs/games/zdoom/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/games/zdoom/default.nix b/pkgs/games/zdoom/default.nix index 4bf8c526f5869..59a88191d2e48 100644 --- a/pkgs/games/zdoom/default.nix +++ b/pkgs/games/zdoom/default.nix @@ -1,11 +1,19 @@ -{stdenv, fetchsvn, cmake, SDL, nasm, p7zip, zlib, flac, fmod, libjpeg}: +{stdenv, fetchurl, cmake, SDL, nasm, p7zip, zlib, flac, fmod, libjpeg}: stdenv.mkDerivation { - name = "zdoom-svn-1424"; - src = fetchsvn { - url = http://mancubus.net/svn/hosted/zdoom/zdoom/trunk; - rev = 1424; + name = "zdoom-2.6.1"; + src = fetchurl { + url = http://zdoom.org/files/zdoom/2.6/zdoom-2.6.1-src.7z; + sha256 = "1ha7hygwf243vkgw0dfh4dxphf5vffb3kkci1p1p75a7r1g1bir8"; }; + + # XXX: shouldn't inclusion of p7zip handle this? + unpackPhase = '' + mkdir zdoom + cd zdoom + 7z x $src + ''; + buildInputs = [cmake nasm SDL p7zip zlib flac fmod libjpeg]; cmakeFlags = [ "-DSDL_INCLUDE_DIR=${SDL}/include/SDL" ]; |