7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
15 sha256 = "1wd71wdnj9izg5d95m81yx3684g4zdi7fsy0j5wwnbd9j34ilz1i";
23 makeFlags = (lib.optionals (SDL != null) [ "SDL=yes" ]) ++ [
25 # force platform's cc on darwin, otherwise gcc is used
26 "CC=${stdenv.cc.targetPrefix}cc"
30 description = "A fast-paced action strategy game";
31 homepage = "https://a-nikolaev.github.io/curseofwar/";
32 license = licenses.gpl3;
33 maintainers = with maintainers; [ fgaz ];
34 platforms = platforms.all;