forked from mirrors/nixpkgs
6cad5785ea
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/extremetuxracer/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 0.7.5 with grep in /nix/store/aqs72fzhj8mlf9dlcrh0nsmwczsxa0il-extremetuxracer-0.7.5 - directory tree listing: https://gist.github.com/af25592b4861fd5c1e67e48c17da69d9
40 lines
1.2 KiB
Nix
40 lines
1.2 KiB
Nix
{ stdenv, fetchurl, libGLU_combined, libX11, xproto, tcl, freeglut, freetype
|
|
, sfml, libXi, inputproto
|
|
, libXmu, libXext, xextproto, libXt, libSM, libICE
|
|
, libpng, pkgconfig, gettext, intltool
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.5";
|
|
name = "extremetuxracer-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/extremetuxracer/etr-${version}.tar.xz";
|
|
sha256 = "1ly63316c07i0gyqqmyzsyvygsvygn0fpk3bnbg25fi6li99rlsg";
|
|
};
|
|
|
|
buildInputs = [
|
|
libGLU_combined libX11 xproto tcl freeglut freetype
|
|
sfml libXi inputproto
|
|
libXmu libXext xextproto libXt libSM libICE
|
|
libpng pkgconfig gettext intltool
|
|
];
|
|
|
|
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.
|
|
'';
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
homepage = https://sourceforge.net/projects/extremetuxracer/;
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
};
|
|
}
|