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