depot/third_party/nixpkgs/pkgs/development/python-modules/skytemple-ssb-debugger/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +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.1";
pyproject = true;
src = fetchFromGitHub {
owner = "SkyTemple";
repo = pname;
rev = version;
hash = "sha256-Zqp/NSF3uoxktycg+Q3BLFUMzbHFKUkYCg+DvEcRydU=";
};
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 ];
};
}