mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
72 lines
1.6 KiB
Nix
72 lines
1.6 KiB
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, gobject-introspection
|
|
, gtk3
|
|
, gtksourceview4
|
|
, webkitgtk
|
|
, wrapGAppsHook
|
|
, python3Packages
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "skytemple";
|
|
version = "1.6.3";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SkyTemple";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-norcfoxZG9crgQz7p1+Gfne5il1AWfxdZa4JE/LfXU8=";
|
|
};
|
|
|
|
buildInputs = [
|
|
gtk3
|
|
gtksourceview4
|
|
# webkitgtk 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
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
gobject-introspection
|
|
wrapGAppsHook
|
|
];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
cairosvg
|
|
natsort
|
|
ndspy
|
|
packaging
|
|
pycairo
|
|
pygal
|
|
psutil
|
|
gbulb
|
|
pypresence
|
|
sentry-sdk
|
|
setuptools
|
|
skytemple-dtef
|
|
skytemple-eventserver
|
|
skytemple-files
|
|
skytemple-icons
|
|
skytemple-ssb-debugger
|
|
tilequant
|
|
wheel
|
|
] ++ skytemple-files.optional-dependencies.spritecollab;
|
|
|
|
doCheck = false; # there are no tests
|
|
|
|
postInstall = ''
|
|
install -Dm444 org.skytemple.SkyTemple.desktop -t $out/share/applications
|
|
install -Dm444 installer/skytemple.ico $out/share/icons/hicolor/256x256/apps/org.skytemple.SkyTemple.ico
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/SkyTemple/skytemple";
|
|
description = "ROM hacking tool for Pokémon Mystery Dungeon Explorers of Sky";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ xfix marius851000 ];
|
|
};
|
|
}
|