2015-07-14 11:01:01 +02:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, 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
|
|
|
|
}:
|
2011-02-16 23:19:59 +01:00
|
|
|
|
2015-07-14 11:01:01 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "warmux-${version}";
|
|
|
|
version = "11.04.1";
|
2011-02-16 23:19:59 +01:00
|
|
|
|
2015-07-14 11:01:01 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.gna.org/warmux/${name}.tar.bz2";
|
|
|
|
sha256 = "1vp44wdpnb1g6cddmn3nphc543pxsdhjis52mfif0p2c7qslz73q";
|
|
|
|
};
|
2011-02-16 23:19:59 +01:00
|
|
|
|
2015-07-14 11:01:01 +02:00
|
|
|
buildInputs =
|
|
|
|
[ 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
|
|
|
|
];
|
2012-02-16 18:56:14 +01:00
|
|
|
|
2015-07-14 11:01:01 +02:00
|
|
|
configureFlagsArray = ("CFLAGS=-include ${zlib}/include/zlib.h");
|
2012-02-16 18:56:14 +01:00
|
|
|
|
2013-12-20 15:57:22 +01:00
|
|
|
patches = [ ./gcc-fix.patch ];
|
|
|
|
|
2015-07-14 11:01:01 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-02-16 23:19:59 +01:00
|
|
|
description = "Ballistics turn-based battle game between teams";
|
2015-07-14 11:01:01 +02:00
|
|
|
maintainers = with maintainers;
|
2011-02-16 23:19:59 +01:00
|
|
|
[
|
|
|
|
raskin
|
|
|
|
];
|
2015-07-14 11:01:01 +02:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
downloadPage = "http://download.gna.org/warmux/";
|
2011-02-16 23:19:59 +01:00
|
|
|
};
|
2015-07-14 11:01:01 +02:00
|
|
|
}
|