16 buildPythonPackage rec {
19 format = "setuptools";
21 disabled = pythonOlder "3.8";
24 inherit pname version;
25 sha256 = "sha256-TGBDYdn1+juBvhjVvxTzBlCw7jju1buhbMikQ5QXj2M=";
29 # Discovery of 'vtk' in setuptools is not working properly, due to a missing
30 # .egg-info in the vtk package. It does however import and run just fine.
31 substituteInPlace mayavi/__init__.py --replace "'vtk'" ""
33 # building the docs fails with the usual Qt xcb error, so skip:
34 substituteInPlace setup.py \
35 --replace "build.build.run(self)" "build.build.run(self); return"
42 propagatedBuildInputs = [
56 pythonImportsCheck = [
61 makeWrapperArgs+=("''${qtWrapperArgs[@]}")
65 description = "3D visualization of scientific data in Python";
66 homepage = "https://github.com/enthought/mayavi";
67 license = licenses.bsdOriginal;
68 maintainers = with maintainers; [ knedlsepp ];