2014-09-26 12:35:49 +02:00
|
|
|
{ stdenv, fetchurl, plib, freeglut, xproto, libX11, libXext, xextproto, libXi
|
2018-02-24 14:12:44 +01:00
|
|
|
, inputproto, libICE, libSM, libXt, libXmu, libGLU_combined, boost, zlib, libjpeg, freealut
|
2014-09-26 12:35:49 +02:00
|
|
|
, openscenegraph, openal, expat, cmake, apr
|
2016-12-24 22:57:25 +01:00
|
|
|
, curl
|
2014-09-26 12:35:49 +02:00
|
|
|
}:
|
2011-04-09 18:43:00 +02:00
|
|
|
|
2014-09-26 12:35:49 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "simgear-${version}";
|
2017-09-28 19:09:17 +02:00
|
|
|
version = "2017.3.1";
|
|
|
|
shortVersion = "2017.3";
|
2011-04-09 18:43:00 +02:00
|
|
|
|
2014-09-26 12:35:49 +02:00
|
|
|
src = fetchurl {
|
2016-12-24 22:57:25 +01:00
|
|
|
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
|
2017-09-28 19:09:17 +02:00
|
|
|
sha256 = "1x71wvycs2bjgmmacswgk6091p65p46fr40mr7f4kcipnx88bq0f";
|
2014-09-26 12:35:49 +02:00
|
|
|
};
|
2011-04-09 18:43:00 +02:00
|
|
|
|
2014-09-26 12:35:49 +02:00
|
|
|
buildInputs = [ plib freeglut xproto libX11 libXext xextproto libXi inputproto
|
2018-02-24 14:12:44 +01:00
|
|
|
libICE libSM libXt libXmu libGLU_combined boost zlib libjpeg freealut
|
2016-12-24 22:57:25 +01:00
|
|
|
openscenegraph openal expat cmake apr curl ];
|
2013-02-23 20:10:15 +01:00
|
|
|
|
2017-09-28 19:09:17 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2014-09-26 12:35:49 +02:00
|
|
|
meta = with stdenv.lib; {
|
2011-04-09 18:43:00 +02:00
|
|
|
description = "Simulation construction toolkit";
|
2014-09-26 12:35:49 +02:00
|
|
|
homepage = https://gitorious.org/fg/simgear;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
2011-04-09 18:43:00 +02:00
|
|
|
};
|
2014-09-26 12:35:49 +02:00
|
|
|
}
|
2011-04-09 18:43:00 +02:00
|
|
|
|