587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
63 lines
1.4 KiB
Nix
63 lines
1.4 KiB
Nix
{ buildPythonPackage
|
|
, explorerscript
|
|
, fetchFromGitHub
|
|
, 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
|
|
, wrapGAppsHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "skytemple-ssb-debugger";
|
|
version = "1.6.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SkyTemple";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-whnwFwPYPGF+UtjrzRKgXJNPsUGvmE+HHKJcPf0qcuA=";
|
|
};
|
|
|
|
buildInputs = [ gtk3 gtksourceview4 ];
|
|
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
|
|
propagatedBuildInputs = [
|
|
explorerscript
|
|
ndspy
|
|
nest-asyncio
|
|
pmdsky-debug-py
|
|
pycairo
|
|
pygobject3
|
|
pygtkspellcheck
|
|
range-typed-integers
|
|
skytemple-files
|
|
skytemple-icons
|
|
skytemple-ssb-emulator
|
|
] ++ lib.optionals (pythonOlder "3.10") [
|
|
importlib-metadata
|
|
];
|
|
|
|
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";
|
|
mainProgram = "skytemple-ssb-debugger";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ marius851000 xfix ];
|
|
};
|
|
}
|