159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
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.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pyvista";
|
|
repo = "pyvista";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-P4kmsaeZqwEUdLJmfTRHkh8zdlOGLw+YLp9fa05xLXU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|