python3Packages.pmdsky-debug-py: init at 4.0.0
This commit is contained in:
parent
e08ce0d54d
commit
64110b1518
2 changed files with 35 additions and 0 deletions
33
pkgs/development/python-modules/pmdsky-debug-py/default.nix
Normal file
33
pkgs/development/python-modules/pmdsky-debug-py/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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 doesn’t 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 ];
|
||||
};
|
||||
}
|
|
@ -7650,6 +7650,8 @@ self: super: with self; {
|
|||
|
||||
pmw = callPackage ../development/python-modules/pmw { };
|
||||
|
||||
pmdsky-debug-py = callPackage ../development/python-modules/pmdsky-debug-py { };
|
||||
|
||||
pnglatex = callPackage ../development/python-modules/pnglatex { };
|
||||
|
||||
pocket = callPackage ../development/python-modules/pocket { };
|
||||
|
|
Loading…
Reference in a new issue