depot/third_party/nixpkgs/pkgs/development/python-modules/pyvista/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03: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.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 ];
};
}