1 { lib, mkDerivation, fetchFromGitLab, cmake, luajit
2 , SDL2, SDL2_image, SDL2_ttf, physfs, glm
3 , openal, libmodplug, libvorbis
10 src = fetchFromGitLab {
11 owner = "solarus-games";
14 sha256 = "sbdlf+R9OskDQ5U5rqUX2gF8l/fj0sDJv6BL7H1I1Ng=";
17 outputs = [ "out" "lib" "dev" ];
19 nativeBuildInputs = [ cmake qttools ];
20 buildInputs = [ luajit SDL2
21 SDL2_image SDL2_ttf physfs
22 openal libmodplug libvorbis
26 (lib.cmakeFeature "CMAKE_CXX_FLAGS" "-DGLM_ENABLE_EXPERIMENTAL")
35 description = "Zelda-like ARPG game engine";
37 Solarus is a game engine for Zelda-like ARPG games written in lua.
38 Many full-fledged games have been writen for the engine.
40 homepage = "https://www.solarus-games.org";
41 license = licenses.gpl3;
43 platforms = platforms.linux;