2010-05-17 10:21:42 +01:00
|
|
|
{ fetchurl, stdenv, SDL, SDL_image, SDL_mixer, curl, gettext, libogg, libvorbis, mesa, openal }:
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
version = "0.1.3";
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "supertux-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-05-18 12:25:43 +01:00
|
|
|
url = "mirror://sourceforge/supertux.berlios/supertux-${version}.tar.bz2";
|
2010-05-17 10:21:42 +01:00
|
|
|
sha256 = "15xdq99jy4hayr96jpqcp15rbr9cs5iamjirafajcrkpa61mi4h0";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ SDL SDL_image SDL_mixer curl gettext libogg libvorbis mesa openal ];
|
|
|
|
|
|
|
|
patches = [ ./g++4.patch ];
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Classic 2D jump'n run sidescroller game";
|
2010-05-17 10:21:42 +01:00
|
|
|
|
|
|
|
homepage = http://supertux.lethargik.org/index.html;
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-05-17 10:21:42 +01:00
|
|
|
};
|
|
|
|
}
|