2014-09-26 11:35:49 +01: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 17:43:00 +01:00
|
|
|
|
2014-09-26 11:35:49 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "simgear-${version}";
|
2015-02-17 06:50:11 +00:00
|
|
|
version = "3.4.0";
|
2011-04-09 17:43:00 +01:00
|
|
|
|
2014-09-26 11:35:49 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/${name}.tar.bz2";
|
2015-02-17 06:50:11 +00:00
|
|
|
sha256 = "152q3aqlrg3631ppvl6kr1mp5iszplq68l6lrsn9vjxafbz6czcj";
|
2014-09-26 11:35:49 +01:00
|
|
|
};
|
2011-04-09 17:43:00 +01:00
|
|
|
|
2014-09-26 11:35:49 +01: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 19:10:15 +00:00
|
|
|
|
2014-09-26 11:35:49 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-04-09 17:43:00 +01:00
|
|
|
description = "Simulation construction toolkit";
|
2014-09-26 11:35:49 +01:00
|
|
|
homepage = https://gitorious.org/fg/simgear;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl2;
|
2011-04-09 17:43:00 +01:00
|
|
|
};
|
2014-09-26 11:35:49 +01:00
|
|
|
}
|
2011-04-09 17:43:00 +01:00
|
|
|
|