2011-04-04 07:01:53 +02:00
|
|
|
{ fetchurl, stdenv, mesa, freeglut, libX11, plib, openal, freealut, libXrandr, xproto,
|
|
|
|
libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm,
|
|
|
|
libpng, zlib, bash, p7zip, SDL, enet, libjpeg, cmake}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "2.0.0-a3-r3412";
|
|
|
|
name = "speed-dreams-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/speed-dreams/2.0.0/${name}-src.tar.7z";
|
|
|
|
sha256 = "0hn5fgn90wmd1xha1la133harx47qc647f4zj8hfdvd7wb3kpjab";
|
|
|
|
};
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
7z e -so ${src} | tar -x
|
|
|
|
cd */
|
|
|
|
'';
|
|
|
|
|
2012-07-02 20:40:16 +02:00
|
|
|
# Order important; it wants libpng12 and some x libs propagate libpng15
|
|
|
|
buildInputs = [ libpng mesa freeglut libX11 plib openal freealut libXrandr xproto
|
|
|
|
libXext libSM libICE libXi libXt libXrender libXxf86vm zlib bash
|
|
|
|
p7zip SDL enet libjpeg cmake ];
|
2011-04-04 07:01:53 +02:00
|
|
|
|
|
|
|
installTargets = "install";
|
|
|
|
|
|
|
|
dontUseCmakeBuildDir=true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Car racing game - TORCS fork with more experimental approach";
|
|
|
|
homepage = http://speed-dreams.sourceforge.net/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-04-04 07:01:53 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric raskin];
|
2013-11-05 00:04:36 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
hydraPlatforms = [];
|
2011-04-04 07:01:53 +02:00
|
|
|
};
|
|
|
|
}
|