mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
32 lines
1,008 B
Nix
32 lines
1,008 B
Nix
{ stdenv, fetchurl, plib, freeglut, xproto, libX11, libXext, xextproto, libXi
|
|
, inputproto, libICE, libSM, libXt, libXmu, mesa, boost, zlib, libjpeg, freealut
|
|
, openscenegraph, openal, expat, cmake, apr
|
|
, curl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "simgear-${version}";
|
|
version = "2017.3.1";
|
|
shortVersion = "2017.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
|
|
sha256 = "1x71wvycs2bjgmmacswgk6091p65p46fr40mr7f4kcipnx88bq0f";
|
|
};
|
|
|
|
buildInputs = [ plib freeglut xproto libX11 libXext xextproto libXi inputproto
|
|
libICE libSM libXt libXmu mesa boost zlib libjpeg freealut
|
|
openscenegraph openal expat cmake apr curl ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Simulation construction toolkit";
|
|
homepage = https://gitorious.org/fg/simgear;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl2;
|
|
};
|
|
}
|
|
|