blob: 1a0e86e5f47aac0b4d7edc8ce14bec853deb8973 (
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
55
56
57
|
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, ipykernel
, ipywidgets
, pythonOlder
, pytestCheckHook
, pandas
, jinja2
, numpy
, traitlets
}:
buildPythonPackage rec {
pname = "pydeck";
version = "0.7.1";
format = "pyproject";
disabled = pythonOlder "3.7";
patches = [
# fixes build with latest setuptools
(fetchpatch {
url = "https://github.com/visgl/deck.gl/commit/9e68f73b28aa3bf0f2a887a4d8ccd2dc35677039.patch";
hash = "sha256-YVVoVbVdY5nV+17OwYIs9AwKGyzgKZHi655f4BLcdMU=";
stripLen = 2;
})
];
src = fetchPypi {
inherit pname version;
sha256 = "907601c99f7510e16d27d7cb62bfa145216d166a2b5c9c50cfe2b65b032ebd2e";
};
pythonImportsCheck = [ "pydeck" ];
nativeCheckInputs = [ pytestCheckHook pandas ];
# tries to start a jupyter server
disabledTests = [ "test_nbconvert" ];
propagatedBuildInputs = [
ipykernel
ipywidgets
jinja2
numpy
traitlets
];
meta = with lib; {
homepage = "https://github.com/visgl/deck.gl/tree/master/bindings/pydeck";
description = "Large-scale interactive data visualization in Python";
maintainers = with maintainers; [ creator54 ];
license = licenses.asl20;
};
}
|