depot/third_party/nixpkgs/pkgs/development/python-modules/skytemple-ssb-debugger/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

62 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.2";
pyproject = true;
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
hash = "sha256-lMlBCAmmenEwxzt4ft5jwwvqedzu2omeoNx5g6lA+PE=";
};
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";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ marius851000 xfix ];
};
}