4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
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 ];
|
|
};
|
|
}
|