49 lines
770 B
Nix
49 lines
770 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, imageio
|
|
, matplotlib
|
|
, numpy
|
|
, pillow
|
|
, pooch
|
|
, scooby
|
|
, vtk
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvista";
|
|
version = "0.39.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-N+1FfTKDITBmLaOjKZsahMd6s26W19ObcWXk8gGQ0QI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
imageio
|
|
matplotlib
|
|
numpy
|
|
pillow
|
|
pooch
|
|
scooby
|
|
vtk
|
|
];
|
|
|
|
# Fatal Python error: Aborted
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pyvista"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://pyvista.org";
|
|
description = "Easier Pythonic interface to VTK";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ wegank ];
|
|
};
|
|
}
|