60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
57 lines
959 B
Nix
57 lines
959 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, imageio
|
|
, matplotlib
|
|
, numpy
|
|
, pillow
|
|
, pooch
|
|
, pythonOlder
|
|
, scooby
|
|
, setuptools
|
|
, vtk
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvista";
|
|
version = "0.43.3";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-yJEggiWK73zzUPvOsPucpalmSMxywinE9t2e2dqBM9M=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|