Files
nixpkgs/pkgs/development/python-modules/pyvista/default.nix
2025-09-06 11:45:00 +00:00

56 lines
1016 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
matplotlib,
numpy,
pillow,
pooch,
pythonAtLeast,
scooby,
setuptools,
typing-extensions,
vtk,
}:
buildPythonPackage rec {
pname = "pyvista";
version = "0.46.3";
pyproject = true;
src = fetchFromGitHub {
owner = "pyvista";
repo = "pyvista";
tag = "v${version}";
hash = "sha256-RpgrsNMZmIfx3bb7W9xU6u4gJoAuDQ8Xx9C25TLp6PI=";
};
# remove this line once pyvista 0.46 is released
pythonRelaxDeps = [ "vtk" ];
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/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ wegank ];
};
}