2021-06-12 09:15:02 +00:00
|
|
|
{ lib, fetchFromGitHub, gobject-introspection, gtk3, gtksourceview3, webkitgtk, wrapGAppsHook, python3Packages }:
|
2021-05-30 20:05:43 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "skytemple";
|
2021-10-07 16:27:48 +00:00
|
|
|
version = "1.3.2";
|
2021-05-30 20:05:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SkyTemple";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-10-07 16:27:48 +00:00
|
|
|
sha256 = "1sx2rib0la3mifvh84ia3jnnq4qw9jxc13vxyidsdkp6x82nbvcg";
|
2021-05-30 20:05:43 +00:00
|
|
|
};
|
|
|
|
|
2021-06-12 09:15:02 +00:00
|
|
|
buildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
gtk3
|
|
|
|
gtksourceview3
|
|
|
|
# webkitgkt is used for rendering interactive statistics graph which
|
|
|
|
# can be seen by opening a ROM, entering Pokemon section, selecting
|
|
|
|
# any Pokemon, and clicking Stats and Moves tab.
|
|
|
|
webkitgtk
|
|
|
|
];
|
2021-05-30 20:05:43 +00:00
|
|
|
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
natsort
|
|
|
|
packaging
|
|
|
|
pycairo
|
|
|
|
pygal
|
|
|
|
pypresence
|
|
|
|
setuptools
|
|
|
|
skytemple-dtef
|
|
|
|
skytemple-eventserver
|
|
|
|
skytemple-files
|
|
|
|
skytemple-icons
|
|
|
|
skytemple-ssb-debugger
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/SkyTemple/skytemple";
|
|
|
|
description = "ROM hacking tool for Pokémon Mystery Dungeon Explorers of Sky";
|
|
|
|
license = licenses.gpl3Plus;
|
2021-09-22 14:22:47 +00:00
|
|
|
maintainers = with maintainers; [ xfix marius851000 ];
|
2021-05-30 20:05:43 +00:00
|
|
|
};
|
|
|
|
}
|