1 {lib, stdenv, fetchgit, cmake, SDL2, SDL2_image, boost, libpng, SDL2_mixer
2 , pkg-config, libGLU, libGL, git, jsoncpp }:
3 stdenv.mkDerivation rec {
5 version = "unstable-0.7.6.0.20191104";
7 nativeBuildInputs = [ cmake pkg-config git ];
8 buildInputs = [ SDL2 SDL2_image boost libpng SDL2_mixer libGLU libGL jsoncpp ];
10 url = "https://gitlab.com/pingus/pingus/";
11 rev = "709546d9b9c4d6d5f45fc9112b45ac10c7f9417d";
12 sha256 = "11mmzk0766riaw5qyd1r5i7s7vczbbzfccm92bvgrm99iy1sj022";
13 fetchSubmodules = true;
17 # Fix missing gcc-13 headers
18 sed -e '1i #include <cstdint>' -i src/util/pathname.hpp
22 description = "Puzzle game with mechanics similar to Lemmings";
23 mainProgram = "pingus";
24 platforms = lib.platforms.linux;
25 maintainers = [lib.maintainers.raskin];
26 license = lib.licenses.gpl3;