nixpkgs/pkgs/development/python-modules/pyvista/default.nix
2023-02-27 17:15:59 +02:00

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 ];
};
}