2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libGLU, libGL, libX11, xorgproto, tcl, freeglut, freetype
|
2020-04-24 23:36:52 +00:00
|
|
|
, sfml, libXi
|
|
|
|
, libXmu, libXext, libXt, libSM, libICE
|
2021-02-05 17:12:51 +00:00
|
|
|
, libpng, pkg-config, gettext, intltool
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.8.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "extremetuxracer";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/extremetuxracer/etr-${version}.tar.xz";
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-HIdJZeniSVM78VwI2rxh5gwFuz/VeJF4gBF/+KkQzU4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libGLU libGL libX11 xorgproto tcl freeglut freetype
|
|
|
|
sfml libXi
|
|
|
|
libXmu libXext libXt libSM libICE
|
2021-02-05 17:12:51 +00:00
|
|
|
libpng pkg-config gettext intltool
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "High speed arctic racing game based on Tux Racer";
|
|
|
|
longDescription = ''
|
|
|
|
ExtremeTuxRacer - Tux lies on his belly and accelerates down ice slopes.
|
|
|
|
'';
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/extremetuxracer/";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
|
|
|
platforms = with lib.platforms; linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|