depot/third_party/nixpkgs/pkgs/development/python-modules/pmdsky-debug-py/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

33 lines
966 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 package is auto-generated. It could totally be possible to generate it from upstream, but seems unecessary
buildPythonPackage rec {
pname = "pmdsky-debug-py";
version = "4.0.0";
# 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 = pname;
rev = version;
sha256 = "sha256-iRiUZoyWAkFGPvRyQRWvI0210Vk2jPS0PSCCCns5yJI=";
};
prePatch = "cd src";
format = "pyproject";
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 ];
};
}