Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
77 lines
1.1 KiB
Nix
77 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitLab,
|
|
plib,
|
|
libglut,
|
|
xorgproto,
|
|
libX11,
|
|
libXext,
|
|
libXi,
|
|
libICE,
|
|
libSM,
|
|
libXt,
|
|
libXmu,
|
|
libGLU,
|
|
libGL,
|
|
boost179,
|
|
zlib,
|
|
libjpeg,
|
|
freealut,
|
|
openscenegraph,
|
|
openal,
|
|
expat,
|
|
cmake,
|
|
apr,
|
|
xz,
|
|
curl,
|
|
}:
|
|
let
|
|
version = "2024.1.1";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
pname = "simgear";
|
|
inherit version;
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "flightgear";
|
|
repo = "simgear";
|
|
tag = "v${version}";
|
|
hash = "sha256-hOA/q/cTsqRy82rTAXRxyHBDdw93TW9UL+K5Jq5b/08=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
plib
|
|
libglut
|
|
xorgproto
|
|
libX11
|
|
libXext
|
|
libXi
|
|
libICE
|
|
libSM
|
|
libXt
|
|
libXmu
|
|
libGLU
|
|
libGL
|
|
boost179
|
|
zlib
|
|
libjpeg
|
|
freealut
|
|
openscenegraph
|
|
openal
|
|
expat
|
|
apr
|
|
curl
|
|
xz
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Simulation construction toolkit";
|
|
homepage = "https://wiki.flightgear.org/SimGear";
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
license = licenses.lgpl2;
|
|
};
|
|
}
|