2015-09-15 06:27:19 +02:00
|
|
|
a @ { xproto, libX11, libXrender
|
|
|
|
, gmp, mesa, libjpeg, libpng
|
|
|
|
, expat, gettext, perl
|
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_ttf
|
|
|
|
, curl, sqlite
|
|
|
|
, libogg, libvorbis, libcaca, csound, cunit, ... } :
|
|
|
|
let
|
2009-12-16 17:06:30 +01:00
|
|
|
buildInputs = with a; [
|
|
|
|
xproto libX11 gmp guile
|
|
|
|
mesa libjpeg libpng
|
|
|
|
expat gettext perl
|
|
|
|
SDL SDL_image SDL_mixer SDL_ttf
|
2015-09-15 06:27:19 +02:00
|
|
|
curl sqlite
|
2014-08-03 13:59:13 +02:00
|
|
|
libogg libvorbis csound
|
|
|
|
libXrender libcaca cunit
|
2009-12-16 17:06:30 +01:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
2014-08-03 13:59:13 +02:00
|
|
|
name = "liquidwar6-${meta.version}";
|
2012-02-16 13:22:05 +01:00
|
|
|
|
|
|
|
src = a.fetchurl {
|
2013-07-14 04:23:06 +02:00
|
|
|
url = "mirror://gnu/liquidwar6/${name}.tar.gz";
|
2015-05-10 11:31:53 +02:00
|
|
|
sha256 = "1976nnl83d8wspjhb5d5ivdvdxgb8lp34wp54jal60z4zad581fn";
|
2012-02-16 13:22:05 +01:00
|
|
|
};
|
2009-12-16 17:06:30 +01:00
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["setVars" "doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
setVars = a.noDepEntry (''
|
2015-10-11 16:21:43 +02:00
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${a.SDL.dev}/include/SDL"
|
2009-12-16 17:06:30 +01:00
|
|
|
'');
|
2015-09-15 06:27:19 +02:00
|
|
|
|
2009-12-16 17:06:30 +01:00
|
|
|
meta = {
|
|
|
|
description = "Quick tactics game";
|
|
|
|
maintainers = [
|
|
|
|
a.lib.maintainers.raskin
|
|
|
|
];
|
2015-09-15 06:27:19 +02:00
|
|
|
platforms = with a.lib.platforms;
|
2009-12-16 17:06:30 +01:00
|
|
|
linux;
|
2014-08-03 13:59:13 +02:00
|
|
|
homepage = "http://www.gnu.org/software/liquidwar6/";
|
2015-05-10 11:31:53 +02:00
|
|
|
version = "0.6.3902";
|
2014-08-03 13:59:13 +02:00
|
|
|
updateWalker=true;
|
2009-12-16 17:06:30 +01:00
|
|
|
};
|
|
|
|
}
|