0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

python313Packages.pygame-ce: 2.5.3 -> 2.5.4 (#413760)

This commit is contained in:
Peder Bergebakken Sundt 2025-06-06 19:40:49 +02:00 committed by GitHub
commit 367c762439
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = [