1 { lib, stdenv, fetchFromGitHub, fetchurl, which
2 , boost, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf
3 , glew, zlib, icu, pkg-config, cairo, libvpx }:
6 pname = "anura-engine";
7 version = "unstable-2022-04-09";
9 src = fetchFromGitHub {
10 owner = "anura-engine";
12 rev = "5ac7f6fe63114274f0da7dad4c1ed673651e6424";
13 sha256 = "1yrcbvzgxdvn893qk1qcpb53pjns366fdls5qjal7lhq71kkfc67";
14 fetchSubmodules = true;
17 # https://github.com/anura-engine/anura/issues/321
19 url = "https://github.com/anura-engine/anura/commit/627d08fb5254b5c66d315f1706089905c2704059.patch";
20 sha256 = "052m58qb3lg0hnxacpnjz2sz89dk0x6b5qi2q9bkzkvg38f237rr";
41 enableParallelBuilding = true;
44 mkdir -p $out/bin $out/share/frogatto
45 cp -ar data images modules $out/share/frogatto/
46 cp -a anura $out/bin/frogatto
50 homepage = "https://github.com/anura-engine/anura";
51 description = "Game engine used by Frogatto";
52 license = licenses.zlib;
53 platforms = platforms.linux;
54 maintainers = with maintainers; [ astro ];