Skip to content

Commit

Permalink
Merge pull request #304471 from pbsds/fix-pygame-1713251863
Browse files Browse the repository at this point in the history
python312Packages.pygame: unbreak
  • Loading branch information
natsukium authored May 2, 2024
2 parents 2149113 + e04c4fc commit b8e9114
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/python-modules/pygame/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv
, lib
, substituteAll
, fetchpatch
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
Expand Down Expand Up @@ -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 = ''
Expand Down

0 comments on commit b8e9114

Please sign in to comment.