blob: 19c5051f94936b419c8ab7ac1f998571cdbca077 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
{
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 ];
};
}
|