1 { lib, stdenv, fetchurl, plib, freeglut, xorgproto, libX11, libXext, libXi
2 , libICE, libSM, libXt, libXmu, libGLU, libGL, boost, zlib, libjpeg, freealut
3 , openscenegraph, openal, expat, cmake, apr
8 shortVersion = builtins.substring 0 6 version;
10 stdenv.mkDerivation rec {
15 url = "mirror://sourceforge/flightgear/release-${shortVersion}/${pname}-${version}.tar.bz2";
16 sha256 = "sha256-7D7KRNIffgUr6vwbni1XwW+8GtXwM6vJZ7V6/QLDVmk=";
19 nativeBuildInputs = [ cmake ];
20 buildInputs = [ plib freeglut xorgproto libX11 libXext libXi
21 libICE libSM libXt libXmu libGLU libGL boost zlib libjpeg freealut
22 openscenegraph openal expat apr curl ];
25 description = "Simulation construction toolkit";
26 homepage = "https://gitorious.org/fg/simgear";
27 maintainers = with maintainers; [ raskin ];
28 platforms = platforms.linux;
29 license = licenses.lgpl2;