depot/third_party/nixpkgs/pkgs/development/python-modules/pyvista/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

52 lines
906 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, imageio
, matplotlib
, numpy
, pillow
, pooch
, pythonOlder
, scooby
, vtk
}:
buildPythonPackage rec {
pname = "pyvista";
version = "0.42.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-RIeasdsLCBBs9eXUts53zlCkqkME48GBWVAcBoEHuOM=";
};
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 ];
};
}