2023-04-29 16:46:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, gtksourceview4
|
|
|
|
, wrapGAppsHook
|
|
|
|
, nest-asyncio
|
|
|
|
, pycairo
|
|
|
|
, py-desmume
|
|
|
|
, pygtkspellcheck
|
|
|
|
, setuptools
|
|
|
|
, skytemple-files
|
|
|
|
, skytemple-icons
|
2021-06-04 09:07:49 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skytemple-ssb-debugger";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.4.4";
|
2021-06-04 09:07:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SkyTemple";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-/LBz0PCQI3QOAmOZk6Jynqi/+NN0w8gbY/S3YckRZ68=";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
buildInputs = [ gtk3 gtksourceview4 ];
|
2021-06-04 09:07:49 +00:00
|
|
|
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
nest-asyncio
|
|
|
|
pycairo
|
|
|
|
py-desmume
|
|
|
|
pygtkspellcheck
|
|
|
|
setuptools
|
|
|
|
skytemple-files
|
|
|
|
skytemple-icons
|
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ xfix ];
|
|
|
|
};
|
|
|
|
}
|