1 { lib, stdenv, fetchFromGitHub, autoconf, automake
2 , zlib, curl, gnutls, fribidi, libpng, SDL, SDL_gfx, SDL_image, SDL_mixer
3 , SDL_net, SDL_ttf, libunwind, libX11, xorgproto, libxml2, pkg-config
4 , gettext, intltool, libtool, perl
9 version = "unstable-2017-10-20";
11 src = fetchFromGitHub {
14 rev = "8f81d4fc309a548ae89a068c2dde27b7e7ef8851";
15 sha256 = "1hvzglsmp75xiqqb0k75qjz4jwi8kl3fhn8zfsz53hhhqmbw6wkr";
18 __structuredAttrs = true;
20 preConfigure = "patchShebangs autogen.sh && ./autogen.sh";
21 configureFlags = ["CFLAGS=-include ${zlib.dev}/include/zlib.h"];
24 autoconf automake gettext intltool libtool pkg-config
27 zlib curl gnutls fribidi libpng SDL SDL_gfx SDL_image SDL_mixer
28 SDL_net SDL_ttf libunwind libX11 xorgproto libxml2 perl
30 enableParallelBuilding = true;
33 description = "Ballistics turn-based battle game between teams - unofficial copy";
34 maintainers = with maintainers; [ raskin ];
35 platforms = platforms.linux;
36 license = with licenses; [ gpl2Plus ufl ];
37 homepage = "https://github.com/fluxer/warmux";