23 stdenv.mkDerivation rec {
28 url = "https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz";
29 sha256 = "1xkr3ka2sxp5s0spp84iv294i29s1vxqzazb6kmjc0n415h0x57p";
33 sed '1i#include <memory>' -i external/partio_zip/zip_manager.hpp # gcc12
36 nativeBuildInputs = [ pkg-config cmake ];
56 cmakeFlags = [ "-DENABLE_BOOST_STATIC_LIBS=OFF" ];
60 ln -s $out/games/supertux2 $out/bin
64 description = "Classic 2D jump'n run sidescroller game";
65 homepage = "https://supertux.github.io/";
66 license = licenses.gpl2;
67 maintainers = with maintainers; [ pSub ];
68 platforms = with platforms; linux;
69 mainProgram = "supertux2";