2021-01-05 17:05:55 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit
|
|
|
|
, SDL2, SDL2_image, SDL2_ttf, physfs, fetchpatch
|
|
|
|
, openal, libmodplug, libvorbis, solarus
|
|
|
|
, qtbase, qttools, glm }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "solarus-quest-editor";
|
2020-05-29 06:06:01 +00:00
|
|
|
version = "1.6.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "solarus-games";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-29 06:06:01 +00:00
|
|
|
sha256 = "1qbc2j9kalk7xqk9j27s7wnm5zawiyjs47xqkqphw683idmzmjzn";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.com/solarus-games/solarus-quest-editor/-/commit/81d5c7f1602cf355684d70a5e3449fefccfc44b8.patch";
|
|
|
|
sha256 = "tVUxkkDp2PcOHGy4dGvUcYj9gF7k4LN21VuxohCw9NE=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ cmake luajit SDL2
|
|
|
|
SDL2_image SDL2_ttf physfs
|
|
|
|
openal libmodplug libvorbis
|
|
|
|
solarus qtbase qttools glm ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "The editor for the Zelda-like ARPG game engine, Solarus";
|
|
|
|
longDescription = ''
|
|
|
|
Solarus is a game engine for Zelda-like ARPG games written in lua.
|
|
|
|
Many full-fledged games have been writen for the engine.
|
|
|
|
Games can be created easily using the editor.
|
|
|
|
'';
|
|
|
|
homepage = "http://www.solarus-games.org";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.Nate-Devv ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2021-01-05 17:05:55 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|