lol
1{ stdenv, fetchurl, plib, freeglut, xproto, libX11, libXext, xextproto, libXi
2, inputproto, libICE, libSM, libXt, libXmu, mesa, boost, zlib, libjpeg, freealut
3, openscenegraph, openal, expat, cmake, apr
4}:
5
6stdenv.mkDerivation rec {
7 name = "simgear-${version}";
8 version = "3.4.0";
9
10 src = fetchurl {
11 url = "http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/${name}.tar.bz2";
12 sha256 = "152q3aqlrg3631ppvl6kr1mp5iszplq68l6lrsn9vjxafbz6czcj";
13 };
14
15 buildInputs = [ plib freeglut xproto libX11 libXext xextproto libXi inputproto
16 libICE libSM libXt libXmu mesa boost zlib libjpeg freealut
17 openscenegraph openal expat cmake apr ];
18
19 meta = with stdenv.lib; {
20 description = "Simulation construction toolkit";
21 homepage = https://gitorious.org/fg/simgear;
22 maintainers = with maintainers; [ raskin ];
23 platforms = platforms.linux;
24 license = licenses.lgpl2;
25 };
26}
27