3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/games/tennix/default.nix

27 lines
724 B
Nix
Raw Normal View History

2015-09-06 20:16:33 +01:00
{stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_net, python } :
stdenv.mkDerivation rec {
2015-09-06 20:16:33 +01:00
name = "tennix-1.1";
src = fetchurl {
url = "http://icculus.org/tennix/downloads/${name}.tar.gz";
2015-09-06 20:16:33 +01:00
sha256 = "0np5kw1y7i0z0dsqx4r2nvmq86qj8hv3mmgavm3hxraqnds5z8cm";
};
2015-09-06 20:16:33 +01:00
buildInputs = [ python SDL SDL_mixer SDL_image SDL_ttf SDL_net ];
patches = [ ./fix_FTBFS.patch ];
preConfigure = ''
2015-09-06 20:16:33 +01:00
makeFlags="PREFIX=$out"
installFlags="PREFIX=$out install"
'';
2015-09-06 20:16:33 +01:00
meta = with stdenv.lib; {
homepage = http://icculus.org/tennix/;
2015-09-06 20:16:33 +01:00
description = "Classic Championship Tour 2011";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}