diff --git a/pkgs/games/super-tux-kart/default.nix b/pkgs/games/super-tux-kart/default.nix new file mode 100644 index 000000000000..b2552bd9dc88 --- /dev/null +++ b/pkgs/games/super-tux-kart/default.nix @@ -0,0 +1,29 @@ +{ fetchurl, stdenv, plib, SDL, openal, freealut, mesa +, libvorbis, libogg, gettext }: + +stdenv.mkDerivation rec { + name = "supertuxkart-0.5"; + + src = fetchurl { + url = "mirror://sourceforge/supertuxkart/${name}.tar.bz2"; + sha256 = "1c9gdfcsygsflbrsar38p6gm17kxnna70s9mw4bsixyg45aghii9"; + }; + + buildInputs = [ + plib SDL openal freealut mesa libvorbis libogg gettext + ]; + + 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+"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8ca4c59b475b..129c0bb4c7dd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7304,6 +7304,11 @@ let inherit (xlibs) libXt libX11 libXmu libXi libXext; }; + superTuxKart = import ../games/super-tux-kart { + inherit fetchurl stdenv plib SDL openal freealut mesa + libvorbis libogg gettext; + }; + /*tpm = import ../games/thePenguinMachine { inherit stdenv fetchurl pil pygame SDL; python24 = python;