2025-05-25 03:23:49 +02:00

34 lines
981 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
#This python library is auto-generated. It should be possible to rebuild it from upstream, but seems unnecessary
buildPythonPackage rec {
pname = "pmdsky-debug-py";
version = "10.0.48";
pyproject = true;
# 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 doesnt follow semver.
src = fetchFromGitHub {
owner = "SkyTemple";
repo = "pmdsky-debug-py";
rev = version;
sha256 = "sha256-JTvLyYUwOEp1O0rtO313VIT6AYOqXWVFUleTrb6BN6Q=";
};
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;
maintainers = with maintainers; [ marius851000 ];
};
}