extreme-tux-racer: update to 0.6.0
This commit is contained in:
parent
2e505d0eb7
commit
e657385acf
@ -1,34 +1,38 @@
|
||||
a :
|
||||
let
|
||||
fetchurl = a.fetchurl;
|
||||
{ stdenv, fetchurl, mesa, libX11, xproto, tcl, freeglut
|
||||
, SDL, SDL_mixer, SDL_image, libXi, inputproto
|
||||
, libXmu, libXext, xextproto, libXt, libSM, libICE
|
||||
, libpng, pkgconfig, gettext, intltool
|
||||
}:
|
||||
|
||||
version = a.lib.attrByPath ["version"] "0.5beta" a;
|
||||
buildInputs = with a; [
|
||||
stdenv.mkDerivation rec {
|
||||
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
|
||||
SDL SDL_mixer libXi inputproto
|
||||
SDL SDL_mixer SDL_image libXi inputproto
|
||||
libXmu libXext xextproto libXt libSM libICE
|
||||
libpng pkgconfig gettext intltool
|
||||
];
|
||||
in
|
||||
rec {
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/extremetuxracer/extremetuxracer-${version}.tar.gz";
|
||||
sha256 = "04d99fsfna5mc9apjxsiyw0zgnswy33kwmm1s9d03ihw6rba2zxs";
|
||||
};
|
||||
|
||||
inherit buildInputs;
|
||||
configureFlags = [
|
||||
"--with-tcl=${a.tcl}/lib"
|
||||
];
|
||||
configureFlags = [ "--with-tcl=${tcl}/lib" ];
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doConfigure" "doMakeInstall"];
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL}/include/SDL"
|
||||
'';
|
||||
|
||||
name = "extremetuxracer-" + version;
|
||||
meta = {
|
||||
description = "High speed arctic racing game based on Tux Racer";
|
||||
longDescription = ''
|
||||
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 { };
|
||||
|
||||
extremetuxracer = builderDefsPackage (import ../games/extremetuxracer) {
|
||||
inherit mesa tcl freeglut SDL SDL_mixer pkgconfig
|
||||
gettext intltool;
|
||||
inherit (xlibs) libX11 xproto libXi inputproto
|
||||
libXmu libXext xextproto libXt libSM libICE;
|
||||
extremetuxracer = callPackage ../games/extremetuxracer {
|
||||
libpng = libpng12;
|
||||
};
|
||||
|
||||
@ -9209,11 +9205,11 @@ let
|
||||
inherit (gnome) vte;
|
||||
gtk = gtk2;
|
||||
};
|
||||
|
||||
|
||||
lynx = callPackage ../applications/networking/browsers/lynx { };
|
||||
|
||||
lyx = callPackage ../applications/misc/lyx { };
|
||||
|
||||
|
||||
makeself = callPackage ../applications/misc/makeself { };
|
||||
|
||||
matchbox = callPackage ../applications/window-managers/matchbox { };
|
||||
|
Loading…
Reference in New Issue
Block a user