2021-05-30 20:04:20 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, gobject-introspection, gtk3, gtksourceview3
|
|
|
|
, wrapGAppsHook, nest-asyncio, pycairo, py-desmume, pygtkspellcheck, setuptools
|
|
|
|
, skytemple-files, skytemple-icons
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "skytemple-ssb-debugger";
|
2021-09-10 19:25:43 +00:00
|
|
|
version = "1.3.0";
|
2021-05-30 20:04:20 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SkyTemple";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-09-10 19:25:43 +00:00
|
|
|
sha256 = "12v0071125m8xjcp2hxm9qvs0qw4hdhkx8r3gbl0plm22vl3fk0d";
|
2021-05-30 20:04:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ gobject-introspection gtk3 gtksourceview3 ];
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|