extreme-tux-racer: update to 0.6.0
This commit is contained in:
parent
2e505d0eb7
commit
e657385acf
@ -1,34 +1,38 @@
|
|||||||
a :
|
{ stdenv, fetchurl, mesa, libX11, xproto, tcl, freeglut
|
||||||
let
|
, SDL, SDL_mixer, SDL_image, libXi, inputproto
|
||||||
fetchurl = a.fetchurl;
|
, libXmu, libXext, xextproto, libXt, libSM, libICE
|
||||||
|
, libpng, pkgconfig, gettext, intltool
|
||||||
|
}:
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "0.5beta" a;
|
stdenv.mkDerivation rec {
|
||||||
buildInputs = with a; [
|
version = "0.6.0";
|
||||||
|
name = "extremetuxracer-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/extremetuxracer/etr-${version}.tar.xz";
|
||||||
|
sha256 = "0fl9pwkywqnsmgr6plfj9zb05xrdnl5xb2hcmbjk7ap9l4cjfca4";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
mesa libX11 xproto tcl freeglut
|
mesa libX11 xproto tcl freeglut
|
||||||
SDL SDL_mixer libXi inputproto
|
SDL SDL_mixer SDL_image libXi inputproto
|
||||||
libXmu libXext xextproto libXt libSM libICE
|
libXmu libXext xextproto libXt libSM libICE
|
||||||
libpng pkgconfig gettext intltool
|
libpng pkgconfig gettext intltool
|
||||||
];
|
];
|
||||||
in
|
|
||||||
rec {
|
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://sourceforge/extremetuxracer/extremetuxracer-${version}.tar.gz";
|
|
||||||
sha256 = "04d99fsfna5mc9apjxsiyw0zgnswy33kwmm1s9d03ihw6rba2zxs";
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit buildInputs;
|
configureFlags = [ "--with-tcl=${tcl}/lib" ];
|
||||||
configureFlags = [
|
|
||||||
"--with-tcl=${a.tcl}/lib"
|
|
||||||
];
|
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
preConfigure = ''
|
||||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL}/include/SDL"
|
||||||
|
'';
|
||||||
|
|
||||||
name = "extremetuxracer-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "High speed arctic racing game based on Tux Racer";
|
description = "High speed arctic racing game based on Tux Racer";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes.
|
ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes.
|
||||||
'';
|
'';
|
||||||
|
license = stdenv.lib.licenses.gpl2Plus;
|
||||||
|
homepage = http://sourceforge.net/projects/extremetuxracer/;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -4554,11 +4554,7 @@ let
|
|||||||
|
|
||||||
expat = callPackage ../development/libraries/expat { };
|
expat = callPackage ../development/libraries/expat { };
|
||||||
|
|
||||||
extremetuxracer = builderDefsPackage (import ../games/extremetuxracer) {
|
extremetuxracer = callPackage ../games/extremetuxracer {
|
||||||
inherit mesa tcl freeglut SDL SDL_mixer pkgconfig
|
|
||||||
gettext intltool;
|
|
||||||
inherit (xlibs) libX11 xproto libXi inputproto
|
|
||||||
libXmu libXext xextproto libXt libSM libICE;
|
|
||||||
libpng = libpng12;
|
libpng = libpng12;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user