2023-01-20 10:41:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2023-02-16 17:41:37 +00:00
|
|
|
, fetchFromGitHub
|
2023-01-20 10:41:00 +00:00
|
|
|
, imageio
|
2023-05-24 13:37:59 +00:00
|
|
|
, matplotlib
|
2023-01-20 10:41:00 +00:00
|
|
|
, numpy
|
|
|
|
, pillow
|
|
|
|
, pooch
|
|
|
|
, scooby
|
|
|
|
, vtk
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyvista";
|
2023-08-04 22:07:22 +00:00
|
|
|
version = "0.41.1";
|
2023-02-16 17:41:37 +00:00
|
|
|
format = "setuptools";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
hash = "sha256-vFxEMKEkiFOBrkvmaJPwoo+lOe6V9AmPxl32Tocy9p8=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
imageio
|
2023-05-24 13:37:59 +00:00
|
|
|
matplotlib
|
2023-01-20 10:41:00 +00:00
|
|
|
numpy
|
|
|
|
pillow
|
|
|
|
pooch
|
|
|
|
scooby
|
|
|
|
vtk
|
|
|
|
];
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
# Fatal Python error: Aborted
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"pyvista"
|
2023-01-20 10:41:00 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://pyvista.org";
|
|
|
|
description = "Easier Pythonic interface to VTK";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ wegank ];
|
|
|
|
};
|
|
|
|
}
|