depot/third_party/nixpkgs/pkgs/development/python-modules/pyvista/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

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 ];
};
}