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