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

30 lines
974 B
Nix
Raw Normal View History

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
2016-12-25 00:57:25 +03:00
, curl
2014-09-26 14:35:49 +04:00
}:
2014-09-26 14:35:49 +04:00
stdenv.mkDerivation rec {
name = "simgear-${version}";
version = "2016.4.4";
2016-12-25 00:57:25 +03:00
shortVersion = "2016.4";
2014-09-26 14:35:49 +04:00
src = fetchurl {
2016-12-25 00:57:25 +03:00
url = "mirror://sourceforge/flightgear/release-${shortVersion}/${name}.tar.bz2";
sha256 = "1p615wmh744m01mcqik27ah1wjdf3sj7vard1vfdpz5v0q0gs52m";
2014-09-26 14:35:49 +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
2016-12-25 00:57:25 +03:00
openscenegraph openal expat cmake apr curl ];
2013-02-23 23:10:15 +04:00
2014-09-26 14:35:49 +04:00
meta = with stdenv.lib; {
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;
};
2014-09-26 14:35:49 +04:00
}