14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-fKqipk1kiPC6HrkNzxHK2aYe5WDZ3hEbPCwsqK5uQ2s=";
26 patchShebangs src/proto/nanopb/generator/*
30 "-DCDOGS_DATA_DIR=${placeholder "out"}/"
31 "-DCMAKE_C_FLAGS=-Wno-error=array-bounds"
37 (python3.withPackages (pp: with pp; [ pp.protobuf setuptools ]))
49 homepage = "https://cxong.github.io/cdogs-sdl";
50 description = "Open source classic overhead run-and-gun game";
51 license = licenses.gpl2Only;
52 maintainers = with maintainers; [ nixinator ];
53 platforms = platforms.unix;
54 broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/cdogs-sdl.x86_64-darwin