Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
68 lines
1.2 KiB
Nix
68 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
qlementine,
|
|
cmake,
|
|
ninja,
|
|
luajit,
|
|
SDL2,
|
|
SDL2_image,
|
|
SDL2_ttf,
|
|
physfs,
|
|
openal,
|
|
libmodplug,
|
|
libvorbis,
|
|
solarus,
|
|
glm,
|
|
qt6,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "solarus-quest-editor";
|
|
inherit (solarus) version;
|
|
|
|
src = solarus.src + "/editor";
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
cmake
|
|
ninja
|
|
qt6.qttools
|
|
qt6.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
luajit
|
|
SDL2
|
|
SDL2_image
|
|
SDL2_ttf
|
|
physfs
|
|
openal
|
|
libmodplug
|
|
libvorbis
|
|
solarus
|
|
qt6.qtbase
|
|
qt6.qtsvg
|
|
glm
|
|
];
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeBool "SOLARUS_USE_LOCAL_QLEMENTINE" true)
|
|
(lib.cmakeFeature "SOLARUS_QLEMENTINE_LOCAL_PATH" "${qlementine.src}")
|
|
];
|
|
|
|
meta = {
|
|
description = "Editor for the Zelda-like ARPG game engine, Solarus";
|
|
mainProgram = "solarus-editor";
|
|
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 = "https://www.solarus-games.org";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = with lib.maintainers; [ marcin-serwin ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|