1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{ 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 ];
};
}
|