1a @ { xproto, libX11, libXrender
2, gmp, mesa, libjpeg, libpng
3, expat, gettext, perl
4, SDL, SDL_image, SDL_mixer, SDL_ttf
5, curl, sqlite
6, libogg, libvorbis, libcaca, csound, cunit, ... } :
7let
8 buildInputs = with a; [
9 xproto libX11 gmp guile
10 mesa libjpeg libpng
11 expat gettext perl
12 SDL SDL_image SDL_mixer SDL_ttf
13 curl sqlite
14 libogg libvorbis csound
15 libXrender libcaca cunit
16 ];
17in
18rec {
19 name = "liquidwar6-${meta.version}";
20
21 src = a.fetchurl {
22 url = "mirror://gnu/liquidwar6/${name}.tar.gz";
23 sha256 = "1976nnl83d8wspjhb5d5ivdvdxgb8lp34wp54jal60z4zad581fn";
24 };
25
26 inherit buildInputs;
27 configureFlags = [];
28
29 /* doConfigure should be removed if not needed */
30 phaseNames = ["setVars" "doConfigure" "doMakeInstall"];
31
32 setVars = a.noDepEntry (''
33 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL}/include/SDL"
34 '');
35
36 meta = {
37 description = "Quick tactics game";
38 maintainers = [
39 a.lib.maintainers.raskin
40 ];
41 platforms = with a.lib.platforms;
42 linux;
43 homepage = "http://www.gnu.org/software/liquidwar6/";
44 version = "0.6.3902";
45 updateWalker=true;
46 };
47}