mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
24 lines
596 B
Nix
24 lines
596 B
Nix
{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 = {
|
|
homepage = http://icculus.org/tennix/;
|
|
description = "Tennix 2009 World Tennis Championship Tour";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|