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