From 403c427884ce2df6678efdcfdfb74a5181638e83 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Tue, 26 Aug 2025 22:18:30 +0800 Subject: [PATCH 1/2] python3Packages.pyopengl_accelerate: 3.1.9 -> 3.1.10 --- .../python-modules/pyopengl-accelerate/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pyopengl-accelerate/default.nix b/pkgs/development/python-modules/pyopengl-accelerate/default.nix index c56ab161a921..551b059d8f34 100644 --- a/pkgs/development/python-modules/pyopengl-accelerate/default.nix +++ b/pkgs/development/python-modules/pyopengl-accelerate/default.nix @@ -10,14 +10,15 @@ buildPythonPackage rec { pname = "pyopengl-accelerate"; - version = "3.1.9"; + version = "3.1.10"; format = "pyproject"; src = fetchPypi { pname = "pyopengl_accelerate"; inherit version; - hash = "sha256-hZV8fHaXWBj/dZ7JJD+dxwke9vNz6jei61DDIP2ahvM="; + hash = "sha256-gnUcg/Cm9zK4tZI5kO3CRB04F2qYdWsXGOjWxDefWnE="; }; + build-system = [ cython numpy @@ -25,11 +26,6 @@ buildPythonPackage rec { wheel ]; - env.NIX_CFLAGS_COMPILE = toString [ - "-Wno-error=int-conversion" - "-Wno-error=incompatible-pointer-types" - ]; - meta = { description = "This set of C (Cython) extensions provides acceleration of common operations for slow points in PyOpenGL 3.x"; homepage = "https://pyopengl.sourceforge.net/"; From 4938b89734233550eab716585c1e2a1705d36312 Mon Sep 17 00:00:00 2001 From: linsui <36977733+linsui@users.noreply.github.com> Date: Tue, 26 Aug 2025 22:18:53 +0800 Subject: [PATCH 2/2] friture: fix crash with numpy 2.3 --- pkgs/by-name/fr/friture/package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/by-name/fr/friture/package.nix b/pkgs/by-name/fr/friture/package.nix index 777516d458ed..127e163f4735 100644 --- a/pkgs/by-name/fr/friture/package.nix +++ b/pkgs/by-name/fr/friture/package.nix @@ -19,6 +19,7 @@ python3Packages.buildPythonApplication rec { postPatch = '' sed -i -e 's/==.*"/"/' -e '/packages=\[/a "friture.playback",' pyproject.toml + sed -i -e 's/tostring/tobytes/' friture/spectrogram_image.py ''; nativeBuildInputs =