mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
python312Packages.executing: patch build with python-3.12.5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user