mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
python313Packages.pygame-ce: 2.5.3 -> 2.5.4 (#413760)
This commit is contained in:
commit
367c762439
1 changed files with 6 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
||||||
cython,
|
cython,
|
||||||
ninja,
|
ninja,
|
||||||
meson-python,
|
meson-python,
|
||||||
|
pyproject-metadata,
|
||||||
|
|
||||||
fontconfig,
|
fontconfig,
|
||||||
freetype,
|
freetype,
|
||||||
|
@ -29,7 +30,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pygame-ce";
|
pname = "pygame-ce";
|
||||||
version = "2.5.3";
|
version = "2.5.4";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -38,7 +39,7 @@ buildPythonPackage rec {
|
||||||
owner = "pygame-community";
|
owner = "pygame-community";
|
||||||
repo = "pygame-ce";
|
repo = "pygame-ce";
|
||||||
tag = version;
|
tag = version;
|
||||||
hash = "sha256-Vl9UwCknbMHdsB1wwo/JqybWz3UbAMegIcO0GpiCxig=";
|
hash = "sha256-joMc3QaQNbZ65pBJ7r5D6lWAGW9eM+e0k/ozOHfQL4U=";
|
||||||
# Unicode files cause different checksums on HFS+ vs. other filesystems
|
# Unicode files cause different checksums on HFS+ vs. other filesystems
|
||||||
postFetch = "rm -rf $out/docs/reST";
|
postFetch = "rm -rf $out/docs/reST";
|
||||||
};
|
};
|
||||||
|
@ -65,8 +66,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
postPatch =
|
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)
|
# cython was pinned to fix windows build hangs (pygame-community/pygame-ce/pull/3015)
|
||||||
substituteInPlace pyproject.toml \
|
substituteInPlace pyproject.toml \
|
||||||
|
--replace-fail '"pyproject-metadata!=0.9.1",' '"pyproject-metadata",' \
|
||||||
--replace-fail '"meson<=1.7.0",' '"meson",' \
|
--replace-fail '"meson<=1.7.0",' '"meson",' \
|
||||||
--replace-fail '"meson-python<=0.17.1",' '"meson-python",' \
|
--replace-fail '"meson-python<=0.17.1",' '"meson-python",' \
|
||||||
--replace-fail '"ninja<=1.12.1",' "" \
|
--replace-fail '"ninja<=1.12.1",' "" \
|
||||||
|
@ -92,6 +95,7 @@ buildPythonPackage rec {
|
||||||
setuptools
|
setuptools
|
||||||
ninja
|
ninja
|
||||||
meson-python
|
meson-python
|
||||||
|
pyproject-metadata
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue