Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions pkgs/development/python-modules/mayavi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
buildPythonPackage,
envisage,
fetchPypi,
numpy_1,
numpy,
packaging,
pyface,
pygments,
Expand All @@ -18,22 +18,22 @@

buildPythonPackage rec {
pname = "mayavi";
version = "4.8.2";
version = "4.8.3";
format = "setuptools";

disabled = pythonOlder "3.8";

src = fetchPypi {
inherit pname version;
hash = "sha256-sQ/pFF8hxI5JAvDnRrNgOzy2lNEUVlFaRoIPIaCnQik=";
hash = "sha256-72nMvfWPIPGzlJMNXjoW3aSxo5rcvHb3mr0mSD0prPU=";
};

nativeBuildInputs = [ wrapQtAppsHook ];

propagatedBuildInputs = [
apptools
envisage
numpy_1
numpy
packaging
pyface
pygments
Expand All @@ -53,6 +53,9 @@ buildPythonPackage rec {
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';

# stripping the ico file on macos cause segfault
stripExclude = [ "*.ico" ];

meta = with lib; {
description = "3D visualization of scientific data in Python";
homepage = "https://github.com/enthought/mayavi";
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8623,12 +8623,10 @@ self: super: with self; {

mayavi = pkgs.libsForQt5.callPackage ../development/python-modules/mayavi {
inherit buildPythonPackage pythonOlder pythonAtLeast;
# when next release contains numpy2 support unpin
# https://github.com/enthought/mayavi/pull/1315
inherit (self)
pyface
pygments
numpy_1
numpy
packaging
vtk
traitsui
Expand Down