2020-12-12 15:47:37 +03:00
|
|
|
{ lib, mkDerivation, fetchFromGitLab, cmake, luajit
|
|
|
|
, SDL2, SDL2_image, SDL2_ttf, physfs, fetchpatch
|
|
|
|
, openal, libmodplug, libvorbis, solarus
|
|
|
|
, qtbase, qttools, glm }:
|
2016-07-27 19:49:02 +03:00
|
|
|
|
2019-08-22 02:19:24 +03:00
|
|
|
mkDerivation rec {
|
2019-08-22 02:16:21 +03:00
|
|
|
pname = "solarus-quest-editor";
|
2020-05-10 19:28:54 +03:00
|
|
|
version = "1.6.4";
|
2019-08-22 02:16:21 +03:00
|
|
|
|
2018-09-05 05:04:33 +03:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "solarus-games";
|
2019-08-22 02:16:21 +03:00
|
|
|
repo = pname;
|
2018-12-31 07:08:16 +03:00
|
|
|
rev = "v${version}";
|
2020-05-10 19:28:54 +03:00
|
|
|
sha256 = "1qbc2j9kalk7xqk9j27s7wnm5zawiyjs47xqkqphw683idmzmjzn";
|
2016-07-27 19:49:02 +03:00
|
|
|
};
|
|
|
|
|
2020-12-12 15:47:37 +03:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://gitlab.com/solarus-games/solarus-quest-editor/-/commit/81d5c7f1602cf355684d70a5e3449fefccfc44b8.patch";
|
|
|
|
sha256 = "tVUxkkDp2PcOHGy4dGvUcYj9gF7k4LN21VuxohCw9NE=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-12-31 10:48:55 +03:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ luajit SDL2 SDL2_image SDL2_ttf physfs openal
|
|
|
|
libmodplug libvorbis solarus qtbase qttools glm ];
|
|
|
|
|
2019-08-22 02:19:24 +03:00
|
|
|
meta = with lib; {
|
2016-07-27 19:49:02 +03:00
|
|
|
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.
|
|
|
|
'';
|
2023-02-19 23:43:38 +03:00
|
|
|
homepage = "https://www.solarus-games.org";
|
2016-07-27 19:49:02 +03:00
|
|
|
license = licenses.gpl3;
|
2022-06-23 02:06:48 +03:00
|
|
|
maintainers = [ ];
|
2016-07-27 19:49:02 +03:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2020-12-31 10:48:55 +03:00
|
|
|
|
2016-07-27 19:49:02 +03:00
|
|
|
}
|