python312Packages.executing: patch build with python-3.12.5

This commit is contained in:
Vladimír Čunát
2024-09-13 16:05:01 +02:00
parent 2fb9fd62b6
commit 42fb94a04c

View File

@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pythonAtLeast,
pythonOlder,
@@ -30,6 +31,13 @@ buildPythonPackage rec {
hash = "sha256-PBvfkv9GQ5Vj5I5SygtmHXtqqHMJ4XgNV1/I+lSU0/U=";
};
patches = lib.optionals (pythonAtLeast "3.12") [
(fetchpatch { # https://github.com/alexmojaki/executing/pull/83
url = "https://github.com/alexmojaki/executing/commit/230ef110f004a8cecf03e983561f26a5fecede8f.diff";
hash = "sha256-McMUIbOWozoDDQSfrJqcxBjuAZ/rrHePfqp5+AVUKI4=";
})
];
nativeBuildInputs = [
setuptools
setuptools-scm