mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
34 lines
938 B
Nix
34 lines
938 B
Nix
{
|
||
lib,
|
||
buildPythonPackage,
|
||
fetchFromGitHub,
|
||
setuptools,
|
||
}:
|
||
|
||
#This package is auto-generated. It could totally be possible to generate it from upstream, but seems unecessary
|
||
buildPythonPackage rec {
|
||
pname = "pmdsky-debug-py";
|
||
version = "10.0.21";
|
||
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 doesn’t follow semver.
|
||
|
||
src = fetchFromGitHub {
|
||
owner = "SkyTemple";
|
||
repo = pname;
|
||
rev = version;
|
||
sha256 = "sha256-uhLmEViiJ5+2Aw9MJP8GL7nhk8lMPcRZRB8WTDFXe+s=";
|
||
};
|
||
|
||
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 = [ ];
|
||
};
|
||
}
|