depot/third_party/nixpkgs/pkgs/development/python-modules/pyvista/default.nix

49 lines
770 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, imageio
, matplotlib
, numpy
, pillow
, pooch
, scooby
, vtk
}:
buildPythonPackage rec {
pname = "pyvista";
version = "0.41.1";
format = "setuptools";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-vFxEMKEkiFOBrkvmaJPwoo+lOe6V9AmPxl32Tocy9p8=";
};
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 ];
};
}