nixpkgs/pkgs/games/super-tux-kart/default.nix
Lluís Batlle i Rossell 3b02e6f70d Updating super tux kart to 0.7.3. I also add the library irrlicht, the specific
version needed for super tux kart.


svn path=/nixpkgs/trunk/; revision=32399
2012-02-19 13:15:50 +00:00

38 lines
950 B
Nix

{ fetchurl, stdenv, plib, SDL, openal, freealut, mesa
, libvorbis, libogg, gettext, irrlicht3843, libXxf86vm, curl, pkgconfig
, fribidi }:
stdenv.mkDerivation rec {
name = "supertuxkart-0.7.3";
src = fetchurl {
url = "mirror://sourceforge/supertuxkart/${name}-src.tar.bz2";
sha256 = "0njrs2qyhbiqdbsqk9jx0sl8nhdwmipf1i91k23rv1biwrim9yq7";
};
buildInputs = [
plib SDL openal freealut mesa libvorbis libogg gettext irrlicht3843
libXxf86vm curl pkgconfig fribidi
];
configureFlags = [ "--with-irrlicht=${irrlicht3843}" ];
postInstall = ''
mv $out/games $out/bin
'';
meta = {
description = "SuperTuxKart is a Free 3D kart racing game";
longDescription = ''
SuperTuxKart is a Free 3D kart racing game, with many tracks,
characters and items for you to try, similar in spirit to Mario
Kart.
'';
homepage = http://supertuxkart.sourceforge.net/;
license = "GPLv2+";
};
}