python310Packages.pyopengl-accelerate: unbreak on Python >= 3.10

This commit is contained in:
Theodore Ni
2023-08-30 01:47:25 -07:00
parent a63a64b593
commit c3cc9fdc2c
@@ -2,12 +2,16 @@
, buildPythonPackage
, pythonAtLeast
, fetchPypi
, cython_3
, numpy
, setuptools
, wheel
}:
buildPythonPackage rec {
pname = "pyopengl-accelerate";
version = "3.1.7";
disabled = pythonAtLeast "3.10"; # fails to compile
format = "pyproject";
src = fetchPypi {
pname = "PyOpenGL-accelerate";
@@ -15,6 +19,13 @@ buildPythonPackage rec {
hash = "sha256-KxI2ISc6k59/0uwidUHjmfm11OgV1prgvbG2xwopNoA=";
};
nativeBuildInputs = [
cython_3
numpy
setuptools
wheel
];
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/";