Loading pkgs/development/python-modules/pygame-ce/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "pygame-ce"; version = "2.5.0"; version = "2.5.1"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "pygame-community"; repo = "pygame-ce"; rev = "refs/tags/${version}"; hash = "sha256-LVwOAp7ss8TPxJhfqGwOfH9EXNoNBGFpU+4tv4ozpvo="; hash = "sha256-bt/6ukXZU79CWFqov9JON9ktQ/c4NKLxhX4Jif3Enxs="; # Unicode file cause different checksums on HFS+ vs. other filesystems postFetch = "rm -rf $out/docs/reST"; }; Loading Loading @@ -66,7 +66,9 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "sphinx<=7.2.6"' "" --replace-fail '"meson<=1.5.0",' '"meson",' \ --replace-fail '"sphinx<=7.2.6",' "" \ --replace-fail '"ninja<=1.11.1.1",' "" substituteInPlace buildconfig/config_{unix,darwin}.py \ --replace-fail 'from distutils' 'from setuptools._distutils' substituteInPlace src_py/sysfont.py \ Loading @@ -76,6 +78,8 @@ buildPythonPackage rec { + lib.optionalString stdenv.isDarwin '' # flaky rm test/system_test.py substituteInPlace test/meson.build \ --replace-fail "'system_test.py'," "" ''; nativeBuildInputs = [ Loading Loading @@ -104,7 +108,7 @@ buildPythonPackage rec { preConfigure = '' ${python.pythonOnBuildForHost.interpreter} buildconfig/config.py ${python.pythonOnBuildForHost.interpreter} -m buildconfig.config ''; env = Loading Loading @@ -148,6 +152,7 @@ buildPythonPackage rec { meta = with lib; { description = "Pygame Community Edition (CE) - library for multimedia application built on SDL"; homepage = "https://pyga.me/"; changelog = "https://github.com/pygame-community/pygame-ce/releases/tag/${version}"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ pbsds ]; platforms = platforms.unix; Loading Loading
pkgs/development/python-modules/pygame-ce/default.nix +9 −4 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ buildPythonPackage rec { pname = "pygame-ce"; version = "2.5.0"; version = "2.5.1"; pyproject = true; disabled = pythonOlder "3.8"; Loading @@ -37,7 +37,7 @@ buildPythonPackage rec { owner = "pygame-community"; repo = "pygame-ce"; rev = "refs/tags/${version}"; hash = "sha256-LVwOAp7ss8TPxJhfqGwOfH9EXNoNBGFpU+4tv4ozpvo="; hash = "sha256-bt/6ukXZU79CWFqov9JON9ktQ/c4NKLxhX4Jif3Enxs="; # Unicode file cause different checksums on HFS+ vs. other filesystems postFetch = "rm -rf $out/docs/reST"; }; Loading Loading @@ -66,7 +66,9 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ --replace-fail ', "sphinx<=7.2.6"' "" --replace-fail '"meson<=1.5.0",' '"meson",' \ --replace-fail '"sphinx<=7.2.6",' "" \ --replace-fail '"ninja<=1.11.1.1",' "" substituteInPlace buildconfig/config_{unix,darwin}.py \ --replace-fail 'from distutils' 'from setuptools._distutils' substituteInPlace src_py/sysfont.py \ Loading @@ -76,6 +78,8 @@ buildPythonPackage rec { + lib.optionalString stdenv.isDarwin '' # flaky rm test/system_test.py substituteInPlace test/meson.build \ --replace-fail "'system_test.py'," "" ''; nativeBuildInputs = [ Loading Loading @@ -104,7 +108,7 @@ buildPythonPackage rec { preConfigure = '' ${python.pythonOnBuildForHost.interpreter} buildconfig/config.py ${python.pythonOnBuildForHost.interpreter} -m buildconfig.config ''; env = Loading Loading @@ -148,6 +152,7 @@ buildPythonPackage rec { meta = with lib; { description = "Pygame Community Edition (CE) - library for multimedia application built on SDL"; homepage = "https://pyga.me/"; changelog = "https://github.com/pygame-community/pygame-ce/releases/tag/${version}"; license = licenses.lgpl21Plus; maintainers = with maintainers; [ pbsds ]; platforms = platforms.unix; Loading