Skip to content

Commit

Permalink
python312Packages.executing: patch build with python-3.12.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Sep 13, 2024
1 parent 2fb9fd6 commit 42fb94a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/python-modules/executing/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pythonAtLeast,
pythonOlder,

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 42fb94a

Please sign in to comment.