2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
explorerscript,
|
|
|
|
fetchFromGitHub,
|
2024-07-27 06:49:29 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
gobject-introspection,
|
|
|
|
gtk3,
|
|
|
|
gtksourceview4,
|
|
|
|
importlib-metadata,
|
|
|
|
lib,
|
|
|
|
ndspy,
|
|
|
|
nest-asyncio,
|
|
|
|
pmdsky-debug-py,
|
|
|
|
pycairo,
|
|
|
|
pygobject3,
|
|
|
|
pygtkspellcheck,
|
|
|
|
pythonOlder,
|
|
|
|
range-typed-integers,
|
|
|
|
skytemple-files,
|
|
|
|
skytemple-icons,
|
|
|
|
skytemple-ssb-emulator,
|
|
|
|
wrapGAppsHook3,
|
2021-06-04 09:07:49 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skytemple-ssb-debugger";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "1.7.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SkyTemple";
|
2024-07-27 06:49:29 +00:00
|
|
|
repo = "skytemple-ssb-debugger";
|
2021-06-04 09:07:49 +00:00
|
|
|
rev = version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-S38Nw7FntacEdwdGu2d/zUKOsGostVy9+U2KPxlvI5Q=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk3
|
|
|
|
gtksourceview4
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
wrapGAppsHook3
|
|
|
|
];
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [
|
2024-01-02 11:29:13 +00:00
|
|
|
explorerscript
|
|
|
|
ndspy
|
2021-06-04 09:07:49 +00:00
|
|
|
nest-asyncio
|
2024-01-02 11:29:13 +00:00
|
|
|
pmdsky-debug-py
|
2021-06-04 09:07:49 +00:00
|
|
|
pycairo
|
2024-01-02 11:29:13 +00:00
|
|
|
pygobject3
|
2021-06-04 09:07:49 +00:00
|
|
|
pygtkspellcheck
|
2024-01-02 11:29:13 +00:00
|
|
|
range-typed-integers
|
2021-06-04 09:07:49 +00:00
|
|
|
skytemple-files
|
|
|
|
skytemple-icons
|
2024-01-02 11:29:13 +00:00
|
|
|
skytemple-ssb-emulator
|
2024-06-05 15:53:02 +00:00
|
|
|
] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
doCheck = false; # requires Pokémon Mystery Dungeon ROM
|
|
|
|
pythonImportsCheck = [ "skytemple_ssb_debugger" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/SkyTemple/skytemple-ssb-debugger";
|
|
|
|
description = "Script Engine Debugger for Pokémon Mystery Dungeon Explorers of Sky";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "skytemple-ssb-debugger";
|
2021-06-04 09:07:49 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = with maintainers; [ marius851000 ];
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
}
|