2018-09-05 02:03:56 +00:00
|
|
|
{ stdenv, fetchFromGitLab, cmake, luajit,
|
2016-07-06 01:33:51 +00:00
|
|
|
SDL2, SDL2_image, SDL2_ttf, physfs,
|
2018-09-05 02:03:56 +00:00
|
|
|
openal, libmodplug, libvorbis,
|
|
|
|
qtbase, qttools }:
|
2016-07-06 01:33:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "solarus-${version}";
|
2018-12-24 15:13:01 +00:00
|
|
|
version = "1.6.0";
|
2017-11-27 16:13:56 +00:00
|
|
|
|
2018-09-05 02:03:56 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "solarus-games";
|
2016-07-06 01:33:51 +00:00
|
|
|
repo = "solarus";
|
2018-12-24 15:13:01 +00:00
|
|
|
rev = "v1.6.0";
|
|
|
|
sha256 = "0mlpa1ijaxy84f7xjgs2kjnpm035b8q9ckva6lg14q49gzy10fr2";
|
2016-07-06 01:33:51 +00:00
|
|
|
};
|
2017-11-27 16:13:56 +00:00
|
|
|
|
2016-07-06 01:33:51 +00:00
|
|
|
buildInputs = [ cmake luajit SDL2
|
|
|
|
SDL2_image SDL2_ttf physfs
|
2018-09-05 02:03:56 +00:00
|
|
|
openal libmodplug libvorbis
|
|
|
|
qtbase qttools ];
|
2016-07-06 01:33:51 +00:00
|
|
|
|
2017-11-27 16:13:56 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-07-06 01:33:51 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Zelda-like ARPG game engine";
|
|
|
|
longDescription = ''
|
|
|
|
Solarus is a game engine for Zelda-like ARPG games written in lua.
|
|
|
|
Many full-fledged games have been writen for the engine.
|
|
|
|
'';
|
|
|
|
homepage = http://www.solarus-games.org;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.Nate-Devv ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2017-11-27 16:13:56 +00:00
|
|
|
|
2016-07-06 01:33:51 +00:00
|
|
|
}
|