5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
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
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
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 wrapGAppsHook3 ];
|
|
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 ];
|
|
};
|
|
}
|