summary refs log tree commit diff
path: root/pkgs/games/tennix/default.nix
blob: f67c7a312e8f276b5081cda3bc9c848fec3d35b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{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 = "GPLv2+";
  };
}