2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
matplotlib,
|
|
|
|
numpy,
|
|
|
|
pillow,
|
|
|
|
pooch,
|
|
|
|
pythonOlder,
|
|
|
|
scooby,
|
|
|
|
setuptools,
|
2024-07-27 06:49:29 +00:00
|
|
|
typing-extensions,
|
2024-06-05 15:53:02 +00:00
|
|
|
vtk,
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyvista";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.44.0";
|
2024-02-07 01:22:34 +00:00
|
|
|
pyproject = true;
|
2023-01-20 10:41:00 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-07-27 06:49:29 +00:00
|
|
|
owner = "pyvista";
|
|
|
|
repo = "pyvista";
|
2023-10-09 19:29:22 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-V6Ez9lwO6Oy2V1dIK802S5Fd41TZV/Ck/53ZUd0uUVE=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
build-system = [ setuptools ];
|
2024-02-07 01:22:34 +00:00
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
dependencies = [
|
2023-05-24 13:37:59 +00:00
|
|
|
matplotlib
|
2023-01-20 10:41:00 +00:00
|
|
|
numpy
|
|
|
|
pillow
|
|
|
|
pooch
|
|
|
|
scooby
|
2024-07-27 06:49:29 +00:00
|
|
|
typing-extensions
|
2023-01-20 10:41:00 +00:00
|
|
|
vtk
|
|
|
|
];
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
# Fatal Python error: Aborted
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "pyvista" ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Easier Pythonic interface to VTK";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://pyvista.org";
|
|
|
|
changelog = "https://github.com/pyvista/pyvista/releases/tag/v${version}";
|
2023-01-20 10:41:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ wegank ];
|
|
|
|
};
|
|
|
|
}
|