diff options
author | OTABI Tomoya <tomoya.otabi@gmail.com> | 2024-05-02 09:58:15 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 09:58:15 +0900 |
commit | b8e911463ec39614240a5164030090e22a785c02 (patch) | |
tree | d6386b76dc87785ec1c4692dbc5f48b02104c8ed /pkgs | |
parent | 21491132507b6e44adbb9696d0c2f9ed8a78d0f6 (diff) | |
parent | e04c4fc35049fa4486786df72cc503a6d92113a6 (diff) |
Merge pull request #304471 from pbsds/fix-pygame-1713251863
python312Packages.pygame: unbreak
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/pygame/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pygame/default.nix b/pkgs/development/python-modules/pygame/default.nix index a219804f34b81..fca187c8cc58a 100644 --- a/pkgs/development/python-modules/pygame/default.nix +++ b/pkgs/development/python-modules/pygame/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , substituteAll +, fetchpatch , fetchFromGitHub , buildPythonPackage , pythonOlder @@ -61,6 +62,13 @@ buildPythonPackage rec { }) # Skip tests that should be disabled without video driver ./skip-surface-tests.patch + + # removes distutils unbreaking py312, part of https://github.com/pygame/pygame/pull/4211 + (fetchpatch { + name = "remove-distutils.patch"; + url = "https://github.com/pygame/pygame/commit/6038e7d6583a7a25fcc6e15387cf6240e427e5a7.patch"; + hash = "sha256-HxcYjjhsu/Y9HiK9xDvY4X5dgWPP4XFLxdYGXC6tdWM="; + }) ]; postPatch = '' |