1 { lib, stdenv, fetchFromGitHub
2 , cmake, pkg-config, makeWrapper
3 , zlib, bzip2, libpng, lua5_1, toluapp
4 , SDL2, SDL2_mixer, SDL2_image, libGL
7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "sha256-q8AvIWr/bOzI0wV0D2emxIXYEKDYmFxbtwr2BS+xYfA=";
18 nativeBuildInputs = [ cmake pkg-config ];
22 (lib.getDev SDL2) SDL2_image SDL2_mixer libGL
25 "-DCMAKE_CXX_FLAGS=-Wno-error=format-overflow"
29 description = "strategy game engine";
30 homepage = "https://wargus.github.io/stratagus.html";
31 license = licenses.gpl2Only;
32 maintainers = [ maintainers.astro ];
33 platforms = platforms.linux;