2014-09-26 12:35:49 +02:00
|
|
|
{ stdenv, fetchurl, plib, freeglut, xproto, libX11, libXext, xextproto, libXi
|
|
|
|
, inputproto, libICE, libSM, libXt, libXmu, mesa, boost, zlib, libjpeg, freealut
|
|
|
|
, openscenegraph, openal, expat, cmake, apr
|
|
|
|
}:
|
2011-04-09 18:43:00 +02:00
|
|
|
|
2014-09-26 12:35:49 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "simgear-${version}";
|
2015-02-17 07:50:11 +01:00
|
|
|
version = "3.4.0";
|
2011-04-09 18:43:00 +02:00
|
|
|
|
2014-09-26 12:35:49 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/${name}.tar.bz2";
|
2015-02-17 07:50:11 +01:00
|
|
|
sha256 = "152q3aqlrg3631ppvl6kr1mp5iszplq68l6lrsn9vjxafbz6czcj";
|
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
|
|
|
|
libICE libSM libXt libXmu mesa boost zlib libjpeg freealut
|
|
|
|
openscenegraph openal expat cmake apr ];
|
2013-02-23 20:10:15 +01:00
|
|
|
|
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
|
|
|
|