Files
nixpkgs/pkgs/development/python-modules/mayavi/default.nix
T
Josef Kemetmüller 767498fefc maintainers: Remove knedlsepp
I haven't been doing much maintenance in the last couple of years
really, so this is long overdue. I still run NixOS on all my computers
and greatly appreciate the time that the *real* maintainers put into it.
❤️
I'm hoping to be able to contribute again at some point down the line.
2024-12-22 13:59:34 +01:00

64 lines
1.0 KiB
Nix

{
lib,
apptools,
buildPythonPackage,
envisage,
fetchPypi,
numpy,
packaging,
pyface,
pygments,
pyqt5,
pythonOlder,
pythonAtLeast,
traitsui,
vtk,
wrapQtAppsHook,
}:
buildPythonPackage rec {
pname = "mayavi";
version = "4.8.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-sQ/pFF8hxI5JAvDnRrNgOzy2lNEUVlFaRoIPIaCnQik=";
};
nativeBuildInputs = [ wrapQtAppsHook ];
propagatedBuildInputs = [
apptools
envisage
numpy
packaging
pyface
pygments
pyqt5
traitsui
vtk
];
env.NIX_CFLAGS_COMPILE = "-Wno-error";
# Needs X server
doCheck = false;
pythonImportsCheck = [ "mayavi" ];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
meta = with lib; {
description = "3D visualization of scientific data in Python";
homepage = "https://github.com/enthought/mayavi";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ ];
mainProgram = "mayavi2";
};
}