depot/third_party/nixpkgs/pkgs/development/python-modules/pyvista/default.nix
Default email 23b612e36f Project import generated by Copybara.
GitOrigin-RevId: ae5c332cbb5827f6b1f02572496b141021de335f
2024-01-25 23:12:00 +09:00

52 lines
906 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, imageio
, matplotlib
, numpy
, pillow
, pooch
, pythonOlder
, scooby
, vtk
}:
buildPythonPackage rec {
pname = "pyvista";
version = "0.43.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-2gh5qpiHda611bWWZzRXu+tkiRk9x4qNehFP8MARtk0=";
};
propagatedBuildInputs = [
imageio
matplotlib
numpy
pillow
pooch
scooby
vtk
];
# Fatal Python error: Aborted
doCheck = false;
pythonImportsCheck = [
"pyvista"
];
meta = with lib; {
description = "Easier Pythonic interface to VTK";
homepage = "https://pyvista.org";
changelog = "https://github.com/pyvista/pyvista/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ wegank ];
};
}