nixpkgs/pkgs/games/warmux/default.nix

37 lines
1,015 B
Nix
Raw Normal View History

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