1 { lib, stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype
3 , libXmu, libXext, libXt, libSM, libICE
4 , libpng, pkg-config, gettext, intltool
7 stdenv.mkDerivation rec {
9 pname = "extremetuxracer";
12 url = "mirror://sourceforge/extremetuxracer/etr-${version}.tar.xz";
13 sha256 = "sha256-LuQvP1/C+NSap1BW6xFvbKuE1lZBIOaWGuWSc2ckURM=";
16 nativeBuildInputs = [ pkg-config intltool ];
18 libGLU libGL libX11 xorgproto tcl freeglut freetype
20 libXmu libXext libXt libSM libICE
24 configureFlags = [ "--with-tcl=${tcl}/lib" ];
27 export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE"
31 description = "High speed arctic racing game based on Tux Racer";
33 ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes.
35 license = lib.licenses.gpl2Plus;
36 homepage = "https://sourceforge.net/projects/extremetuxracer/";
37 maintainers = with lib.maintainers; [ ];
39 platforms = with lib.platforms; linux;