friture: fix build and crash (#437124)
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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/";
|
||||
|
||||
Reference in New Issue
Block a user