extreme-tux-racer: update to 0.6.0

+26 -26
+23 -19
pkgs/games/extremetuxracer/default.nix
··· 1 - a : 2 - let 3 - fetchurl = a.fetchurl; 1 + { stdenv, fetchurl, mesa, libX11, xproto, tcl, freeglut 2 + , SDL, SDL_mixer, SDL_image, libXi, inputproto 3 + , libXmu, libXext, xextproto, libXt, libSM, libICE 4 + , libpng, pkgconfig, gettext, intltool 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + version = "0.6.0"; 9 + name = "extremetuxracer-${version}"; 10 + 11 + src = fetchurl { 12 + url = "mirror://sourceforge/extremetuxracer/etr-${version}.tar.xz"; 13 + sha256 = "0fl9pwkywqnsmgr6plfj9zb05xrdnl5xb2hcmbjk7ap9l4cjfca4"; 14 + }; 4 15 5 - version = a.lib.attrByPath ["version"] "0.5beta" a; 6 - buildInputs = with a; [ 16 + buildInputs = [ 7 17 mesa libX11 xproto tcl freeglut 8 - SDL SDL_mixer libXi inputproto 18 + SDL SDL_mixer SDL_image libXi inputproto 9 19 libXmu libXext xextproto libXt libSM libICE 10 20 libpng pkgconfig gettext intltool 11 21 ]; 12 - in 13 - rec { 14 - src = fetchurl { 15 - url = "mirror://sourceforge/extremetuxracer/extremetuxracer-${version}.tar.gz"; 16 - sha256 = "04d99fsfna5mc9apjxsiyw0zgnswy33kwmm1s9d03ihw6rba2zxs"; 17 - }; 18 22 19 - inherit buildInputs; 20 - configureFlags = [ 21 - "--with-tcl=${a.tcl}/lib" 22 - ]; 23 + configureFlags = [ "--with-tcl=${tcl}/lib" ]; 23 24 24 - /* doConfigure should be removed if not needed */ 25 - phaseNames = ["doConfigure" "doMakeInstall"]; 25 + preConfigure = '' 26 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${SDL}/include/SDL" 27 + ''; 26 28 27 - name = "extremetuxracer-" + version; 28 29 meta = { 29 30 description = "High speed arctic racing game based on Tux Racer"; 30 31 longDescription = '' 31 32 ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes. 32 33 ''; 34 + license = stdenv.lib.licenses.gpl2Plus; 35 + homepage = http://sourceforge.net/projects/extremetuxracer/; 36 + maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; 33 37 }; 34 38 }
+3 -7
pkgs/top-level/all-packages.nix
··· 4554 4554 4555 4555 expat = callPackage ../development/libraries/expat { }; 4556 4556 4557 - extremetuxracer = builderDefsPackage (import ../games/extremetuxracer) { 4558 - inherit mesa tcl freeglut SDL SDL_mixer pkgconfig 4559 - gettext intltool; 4560 - inherit (xlibs) libX11 xproto libXi inputproto 4561 - libXmu libXext xextproto libXt libSM libICE; 4557 + extremetuxracer = callPackage ../games/extremetuxracer { 4562 4558 libpng = libpng12; 4563 4559 }; 4564 4560 ··· 9209 9205 inherit (gnome) vte; 9210 9206 gtk = gtk2; 9211 9207 }; 9212 - 9208 + 9213 9209 lynx = callPackage ../applications/networking/browsers/lynx { }; 9214 9210 9215 9211 lyx = callPackage ../applications/misc/lyx { }; 9216 - 9212 + 9217 9213 makeself = callPackage ../applications/misc/makeself { }; 9218 9214 9219 9215 matchbox = callPackage ../applications/window-managers/matchbox { };