1{ lib
2, buildPythonPackage
3, fetchPypi
4, bleach
5, bokeh
6, param
7, pyviz-comms
8, markdown
9, pyct
10, testpath
11, tqdm
12, nodejs
13}:
14
15buildPythonPackage rec {
16 pname = "panel";
17 version = "0.14.1";
18
19 format = "wheel";
20
21 # We fetch a wheel because while we can fetch the node
22 # artifacts using npm, the bundling invoked in setup.py
23 # tries to fetch even more artifacts
24 src = fetchPypi {
25 inherit pname version format;
26 hash = "sha256-DSurTC+inYSoGJ047u03K+wEQhGFqqRX0uS5qb3sNEI=";
27 };
28
29 propagatedBuildInputs = [
30 bleach
31 bokeh
32 param
33 pyviz-comms
34 markdown
35 pyct
36 testpath
37 tqdm
38 ];
39
40 # infinite recursion in test dependencies (hvplot)
41 doCheck = false;
42
43 passthru = {
44 inherit nodejs; # For convenience
45 };
46
47 meta = with lib; {
48 description = "A high level dashboarding library for python visualization libraries";
49 homepage = "https://pyviz.org";
50 license = licenses.bsd3;
51 maintainers = [ maintainers.costrouc ];
52 };
53}