linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / development / libraries / simgear / default.nix
blobe67cb1736b756a2d61524b7edd283cfb72831689
1 { lib, stdenv, fetchurl, plib, freeglut, xorgproto, libX11, libXext, libXi
2 , libICE, libSM, libXt, libXmu, libGLU, libGL, boost, zlib, libjpeg, freealut
3 , openscenegraph, openal, expat, cmake, apr
4 , curl
5 }:
6 let
7   version = "2020.3.6";
8   shortVersion = builtins.substring 0 6 version;
9 in
10 stdenv.mkDerivation rec {
11   pname = "simgear";
12   inherit version;
14   src = fetchurl {
15     url = "mirror://sourceforge/flightgear/release-${shortVersion}/${pname}-${version}.tar.bz2";
16     sha256 = "sha256-7D7KRNIffgUr6vwbni1XwW+8GtXwM6vJZ7V6/QLDVmk=";
17   };
19   nativeBuildInputs = [ cmake ];
20   buildInputs = [ plib freeglut xorgproto libX11 libXext libXi
21                   libICE libSM libXt libXmu libGLU libGL boost zlib libjpeg freealut
22                   openscenegraph openal expat apr curl ];
24   meta = with lib; {
25     description = "Simulation construction toolkit";
26     homepage = "https://gitorious.org/fg/simgear";
27     maintainers = with maintainers; [ raskin ];
28     platforms = platforms.linux;
29     license = licenses.lgpl2;
30   };