diff options
author | Alexander Tsamutali <astsmtl@yandex.ru> | 2011-01-02 23:36:25 +0000 |
---|---|---|
committer | Alexander Tsamutali <astsmtl@yandex.ru> | 2011-01-02 23:36:25 +0000 |
commit | 51282e4a98d110f35df166d1aeaa22b9f6f49cfd (patch) | |
tree | 97a9ebd28e342628dee21eece68865ce8c89cd3f /pkgs/games/warsow | |
parent | bbedfb4a5e2a1d3d8283d22203d9820b748b28c2 (diff) |
games/warsow: Updated to 0.6.
svn path=/nixpkgs/trunk/; revision=25352
Diffstat (limited to 'pkgs/games/warsow')
-rw-r--r-- | pkgs/games/warsow/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/games/warsow/default.nix b/pkgs/games/warsow/default.nix index 5b6850b24acad..8478cd281d962 100644 --- a/pkgs/games/warsow/default.nix +++ b/pkgs/games/warsow/default.nix @@ -3,14 +3,14 @@ }: stdenv.mkDerivation rec { name = "warsow-${version}"; - version = "0.5"; + version = "0.6"; src1 = fetchurl { - url = "http://static.warsow.net/release/warsow_${version}_sdk.zip"; - sha256 = "018z83irj6wr5mj4pnya1r4abmg9sqznnkyq0gw9sr9q9dxr7k1m"; + url = "http://www.zcdn.org/dl/warsow_${version}_sdk.zip"; + sha256 = "1mrsr4af4wi04slc2f66rr467rxa15ppny7ms4gxhaqvvki5x3nq"; }; src2 = fetchurl { - url = "http://static.warsow.net/release/warsow_${version}_unified.zip"; - sha256 = "002idzqjq41ygjny9kk31fjx7l9clxy4xm38hc5dky6yfx17ib36"; + url = "http://www.zcdn.org/dl/warsow_${version}_unified.zip"; + sha256 = "0a4407kw86yvr411dd9m0dgp7wdkgd9j4ac32gfz6xprgplqkws3"; }; unpackPhase = '' mkdir warsow_${version}_sdk @@ -19,10 +19,6 @@ stdenv.mkDerivation rec { cd source unzip $src2 'basewsw/*' -d release ''; - patchPhase = '' - substituteInPlace Makefile --replace openal-config 'pkg-config openal' - substituteInPlace snd_openal/snd_main.c --replace libopenal.so.0 ${openal}/lib/libopenal.so - ''; buildInputs = [ unzip pkgconfig zlib curl libjpeg libvorbis libXxf86dga libXxf86vm libXinerama SDL mesa openal ]; installPhase = '' |