nixpkgs/pkgs/games/liquidwar/default.nix

43 lines
969 B
Nix
Raw Normal View History

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