46 lines
742 B
Nix
46 lines
742 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, imageio
|
|
, numpy
|
|
, pillow
|
|
, pooch
|
|
, scooby
|
|
, vtk
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvista";
|
|
version = "0.38.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-DkJZfzBS/amQqZDcsmQo+WlSxOYtIwizXJOjF/N2lSE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
imageio
|
|
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 ];
|
|
};
|
|
}
|