2009-02-21 19:58:56 +01:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-05-24 12:57:41 +02:00
|
|
|
version = a.lib.attrByPath ["version"] "0.5beta" a;
|
2009-02-21 19:58:56 +01:00
|
|
|
buildInputs = with a; [
|
|
|
|
mesa libX11 xproto tcl freeglut
|
|
|
|
SDL SDL_mixer libXi inputproto
|
|
|
|
libXmu libXext xextproto libXt libSM libICE
|
|
|
|
libpng pkgconfig gettext intltool
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
2013-07-14 02:09:34 +02:00
|
|
|
url = "mirror://sourceforge/extremetuxracer/extremetuxracer-${version}.tar.gz";
|
2009-02-21 19:58:56 +01:00
|
|
|
sha256 = "04d99fsfna5mc9apjxsiyw0zgnswy33kwmm1s9d03ihw6rba2zxs";
|
|
|
|
};
|
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [
|
|
|
|
"--with-tcl=${a.tcl}/lib"
|
|
|
|
];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
|
|
|
phaseNames = ["doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
name = "extremetuxracer-" + version;
|
|
|
|
meta = {
|
|
|
|
description = "ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes..";
|
|
|
|
};
|
|
|
|
}
|