f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
54 lines
975 B
Nix
54 lines
975 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
matplotlib,
|
|
numpy,
|
|
pillow,
|
|
pooch,
|
|
pythonOlder,
|
|
scooby,
|
|
setuptools,
|
|
typing-extensions,
|
|
vtk,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvista";
|
|
version = "0.44.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pyvista";
|
|
repo = "pyvista";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-V6Ez9lwO6Oy2V1dIK802S5Fd41TZV/Ck/53ZUd0uUVE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
matplotlib
|
|
numpy
|
|
pillow
|
|
pooch
|
|
scooby
|
|
typing-extensions
|
|
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 ];
|
|
};
|
|
}
|