nixpkgs/pkgs/development/libraries/simgear/default.nix

31 lines
991 B
Nix
Raw Normal View History

{ stdenv, fetchurl, plib, freeglut, xorgproto, libX11, libXext, libXi
, libICE, libSM, libXt, libXmu, libGLU_combined, boost, zlib, libjpeg, freealut
2014-09-26 12:35:49 +02:00
, openscenegraph, openal, expat, cmake, apr
2016-12-24 22:57:25 +01:00
, curl
2014-09-26 12:35:49 +02:00
}:
2014-09-26 12:35:49 +02:00
stdenv.mkDerivation rec {
name = "simgear-${version}";
2019-04-09 23:56:46 +02:00
version = "2018.3.1";
shortVersion = "2018.3";
2014-09-26 12:35:49 +02:00
src = fetchurl {
2016-12-24 22:57:25 +01:00
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
2019-04-09 23:56:46 +02:00
sha256 = "0sm0v8v1sw5xzkzhf0gzh6fwx93hd62h5lm9s9hgci40x7480i99";
2014-09-26 12:35:49 +02:00
};
buildInputs = [ plib freeglut xorgproto libX11 libXext libXi
libICE libSM libXt libXmu libGLU_combined boost zlib libjpeg freealut
2016-12-24 22:57:25 +01:00
openscenegraph openal expat cmake apr curl ];
2013-02-23 20:10:15 +01:00
enableParallelBuilding = true;
2014-09-26 12:35:49 +02:00
meta = with stdenv.lib; {
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;
};
2014-09-26 12:35:49 +02:00
}