1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cython, 6 numpy, 7 setuptools, 8 wheel, 9}: 10 11buildPythonPackage rec { 12 pname = "pyopengl-accelerate"; 13 version = "3.1.9"; 14 format = "pyproject"; 15 16 src = fetchPypi { 17 pname = "pyopengl_accelerate"; 18 inherit version; 19 hash = "sha256-hZV8fHaXWBj/dZ7JJD+dxwke9vNz6jei61DDIP2ahvM="; 20 }; 21 build-system = [ 22 cython 23 numpy 24 setuptools 25 wheel 26 ]; 27 28 env.NIX_CFLAGS_COMPILE = toString [ 29 "-Wno-error=int-conversion" 30 "-Wno-error=incompatible-pointer-types" 31 ]; 32 33 meta = { 34 description = "This set of C (Cython) extensions provides acceleration of common operations for slow points in PyOpenGL 3.x"; 35 homepage = "https://pyopengl.sourceforge.net/"; 36 maintainers = with lib.maintainers; [ laikq ]; 37 license = lib.licenses.bsd3; 38 }; 39}