2010-02-01 20:55:03 +01:00
|
|
|
{stdenv, fetchurl, SDL, SDL_mixer, SDL_image, SDL_ttf} :
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tennix-1.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://icculus.org/tennix/downloads/${name}.tar.gz";
|
|
|
|
sha256 = "18rd7h1j5skpkh037misixw9gigzc7qy13vrnrs21rphcfxzpifn";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
makeFlags="PREFIX=$out USE_PYTHON=0"
|
|
|
|
installFlags="PREFIX=$out install"
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ SDL SDL_mixer SDL_image SDL_ttf ];
|
|
|
|
|
|
|
|
meta = {
|
2010-02-01 20:58:57 +01:00
|
|
|
homepage = http://icculus.org/tennix/;
|
2010-02-01 20:55:03 +01:00
|
|
|
description = "Tennix 2009 World Tennis Championship Tour";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2010-02-01 20:55:03 +01:00
|
|
|
};
|
|
|
|
}
|