nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 979 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8#This python library is auto-generated. It should be possible to rebuild it from upstream, but seems unnecessary 9buildPythonPackage rec { 10 pname = "pmdsky-debug-py"; 11 version = "10.2.26"; 12 pyproject = true; 13 # SkyTemple specifically require this version. This is used when patching the binary, 14 # and risk to be a bit problematic if using the latest version, given it doesn’t follow semver. 15 16 src = fetchFromGitHub { 17 owner = "SkyTemple"; 18 repo = "pmdsky-debug-py"; 19 tag = version; 20 sha256 = "sha256-klgtuNjxNQcW01VkKCR69ahpno2XYoQy7MfZSOZ5H9Q="; 21 }; 22 23 prePatch = "cd src"; 24 25 nativeBuildInputs = [ setuptools ]; 26 27 meta = { 28 description = "Autogenerated and statically check-able pmdsky-debug symbol definitions for Python"; 29 homepage = "https://github.com/SkyTemple/pmdsky-debug-py"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ marius851000 ]; 32 }; 33}