2019-08-22 01:19:24 +02:00
|
|
|
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit,
|
2016-07-06 03:33:51 +02:00
|
|
|
SDL2, SDL2_image, SDL2_ttf, physfs,
|
2018-09-05 04:03:56 +02:00
|
|
|
openal, libmodplug, libvorbis,
|
|
|
|
qtbase, qttools }:
|
2016-07-06 03:33:51 +02:00
|
|
|
|
2019-08-22 01:19:24 +02:00
|
|
|
mkDerivation rec {
|
2019-08-22 01:16:21 +02:00
|
|
|
pname = "solarus";
|
|
|
|
version = "1.6.2";
|
2017-11-27 17:13:56 +01:00
|
|
|
|
2018-09-05 04:03:56 +02:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "solarus-games";
|
2019-08-22 01:16:21 +02:00
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0d0xfjbmamz84aajxfc0fwrj8862xxbxz6n4xnc05r1m4g7gba77";
|
2016-07-06 03:33:51 +02:00
|
|
|
};
|
2017-11-27 17:13:56 +01:00
|
|
|
|
2016-07-06 03:33:51 +02:00
|
|
|
buildInputs = [ cmake luajit SDL2
|
|
|
|
SDL2_image SDL2_ttf physfs
|
2018-09-05 04:03:56 +02:00
|
|
|
openal libmodplug libvorbis
|
|
|
|
qtbase qttools ];
|
2016-07-06 03:33:51 +02:00
|
|
|
|
2017-11-27 17:13:56 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-08-22 01:19:24 +02:00
|
|
|
meta = with lib; {
|
2016-07-06 03:33:51 +02:00
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.solarus-games.org";
|
2016-07-06 03:33:51 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.Nate-Devv ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2017-11-27 17:13:56 +01:00
|
|
|
|
2016-07-06 03:33:51 +02:00
|
|
|
}
|