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

34 lines
1 KiB
Nix
Raw Normal View History

{ stdenv, fetchurl, plib, freeglut, xorgproto, libX11, libXext, libXi
2019-11-10 17:44:34 +01:00
, libICE, libSM, libXt, libXmu, libGLU, libGL, 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
}:
2019-08-06 22:04:24 +02:00
let
version = "2019.1.1";
shortVersion = builtins.substring 0 6 version;
in
2014-09-26 12:35:49 +02:00
stdenv.mkDerivation rec {
2019-08-06 22:04:24 +02:00
pname = "simgear";
inherit version;
2014-09-26 12:35:49 +02:00
src = fetchurl {
2019-08-06 22:04:24 +02:00
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${pname}-${version}.tar.bz2";
sha256 = "12sl18limlj61hlwl3bcv5ysfdpsjmd07cxchhf9xa8shk6d87i0";
2014-09-26 12:35:49 +02:00
};
2019-08-06 22:04:24 +02:00
nativeBuildInputs = [ cmake ];
buildInputs = [ plib freeglut xorgproto libX11 libXext libXi
2019-11-10 17:44:34 +01:00
libICE libSM libXt libXmu libGLU libGL boost zlib libjpeg freealut
2019-08-06 22:04:24 +02:00
openscenegraph openal expat 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";
2019-08-06 22:04:24 +02:00
homepage = "https://gitorious.org/fg/simgear";
2014-09-26 12:35:49 +02:00
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
license = licenses.lgpl2;
};
2014-09-26 12:35:49 +02:00
}