Unverified Commit b8e91146 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #304471 from pbsds/fix-pygame-1713251863

python312Packages.pygame: unbreak
parents 21491132 e04c4fc3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
{ 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 = ''