about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-17 13:43:31 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-17 13:43:31 +0000
commit79d0d410cb48eeffd542bc6a293e9dc347bafbda (patch)
treec5078740bc6c2c844f6b38c701ad3d7a18fdb544 /pkgs/games
parente5027e5b365a91a7094ebae7875da6e6d31c211f (diff)
parent882b8ea87107d36d143a38178b5e9b06800c204e (diff)
svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32350
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/warmux/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/games/warmux/default.nix b/pkgs/games/warmux/default.nix
index 40072ca7dfc60..ff2ce6bb819f7 100644
--- a/pkgs/games/warmux/default.nix
+++ b/pkgs/games/warmux/default.nix
@@ -1,4 +1,5 @@
 x@{builderDefsPackage
+  , zlib
   , curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
   , SDL_net, SDL_ttf, libunwind, libX11, xproto, libxml2, pkgconfig
   , gettext, intltool, libtool, perl
@@ -13,10 +14,10 @@ let
     (builtins.attrNames (builtins.removeAttrs x helperArgNames));
   sourceInfo = rec {
     baseName="warmux";
-    version="11.01";
+    version="11.04.1";
     name="${baseName}-${version}";
     url="http://download.gna.org/${baseName}/${name}.tar.bz2";
-    hash="1f063yaab08gflh4hnd8clb4as41ayfphi4q0cmi8syjiaap2qgh";
+    hash="1vp44wdpnb1g6cddmn3nphc543pxsdhjis52mfif0p2c7qslz73q";
   };
 in
 rec {
@@ -30,7 +31,9 @@ rec {
 
   /* doConfigure should be removed if not needed */
   phaseNames = ["doConfigure" "doMakeInstall"];
-      
+
+  configureFlags = "CFLAGS=\"-include ${zlib}/include/zlib.h\"";
+
   meta = {
     description = "Ballistics turn-based battle game between teams";
     maintainers = with a.lib.maintainers;