diff --git a/pkgs/development/python-modules/pygame-ce/default.nix b/pkgs/development/python-modules/pygame-ce/default.nix index 386fd25c22c8..c677b9a4654a 100644 --- a/pkgs/development/python-modules/pygame-ce/default.nix +++ b/pkgs/development/python-modules/pygame-ce/default.nix @@ -11,6 +11,7 @@ cython, ninja, meson-python, + pyproject-metadata, fontconfig, freetype, @@ -29,7 +30,7 @@ buildPythonPackage rec { pname = "pygame-ce"; - version = "2.5.3"; + version = "2.5.4"; pyproject = true; disabled = pythonOlder "3.8"; @@ -38,7 +39,7 @@ buildPythonPackage rec { owner = "pygame-community"; repo = "pygame-ce"; tag = version; - hash = "sha256-Vl9UwCknbMHdsB1wwo/JqybWz3UbAMegIcO0GpiCxig="; + hash = "sha256-joMc3QaQNbZ65pBJ7r5D6lWAGW9eM+e0k/ozOHfQL4U="; # Unicode files cause different checksums on HFS+ vs. other filesystems postFetch = "rm -rf $out/docs/reST"; }; @@ -65,8 +66,10 @@ buildPythonPackage rec { postPatch = '' + # "pyproject-metadata!=0.9.1" was pinned due to https://github.com/pygame-community/pygame-ce/pull/3395 # cython was pinned to fix windows build hangs (pygame-community/pygame-ce/pull/3015) substituteInPlace pyproject.toml \ + --replace-fail '"pyproject-metadata!=0.9.1",' '"pyproject-metadata",' \ --replace-fail '"meson<=1.7.0",' '"meson",' \ --replace-fail '"meson-python<=0.17.1",' '"meson-python",' \ --replace-fail '"ninja<=1.12.1",' "" \ @@ -92,6 +95,7 @@ buildPythonPackage rec { setuptools ninja meson-python + pyproject-metadata ]; buildInputs = [