forked from mirrors/nixpkgs
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ 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";
|
|
version = "1.3.8.post2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SkyTemple";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "sha256-dd0qsSNBwxuSopjz2PLqEFddZpvMgeJIjBXY5P6OAow=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|