2024-06-05 15:53:02 +00:00
|
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
buildPythonPackage,
|
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
setuptools,
|
2023-04-29 16:46:19 +00:00
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
#This package is auto-generated. It could totally be possible to generate it from upstream, but seems unecessary
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
|
pname = "pmdsky-debug-py";
|
2024-10-11 05:15:48 +00:00
|
|
|
|
version = "10.0.21";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
pyproject = true;
|
2023-04-29 16:46:19 +00:00
|
|
|
|
# SkyTemple specifically require this version. This is used when patching the binary,
|
|
|
|
|
# and risk to be a bit problematic if using the latest version, given it doesn’t follow semver.
|
|
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "SkyTemple";
|
|
|
|
|
repo = pname;
|
|
|
|
|
rev = version;
|
2024-10-11 05:15:48 +00:00
|
|
|
|
sha256 = "sha256-uhLmEViiJ5+2Aw9MJP8GL7nhk8lMPcRZRB8WTDFXe+s=";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
prePatch = "cd src";
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
|
description = "Autogenerated and statically check-able pmdsky-debug symbol definitions for Python";
|
|
|
|
|
homepage = "https://github.com/SkyTemple/pmdsky-debug-py";
|
|
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
|
maintainers = [ ];
|
2023-04-29 16:46:19 +00:00
|
|
|
|
};
|
|
|
|
|
}
|