1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 bleach,
6 bokeh,
7 param,
8 pyviz-comms,
9 markdown,
10 pyct,
11 requests,
12 setuptools,
13 tqdm,
14 typing-extensions,
15}:
16
17buildPythonPackage rec {
18 pname = "panel";
19 version = "1.7.5";
20
21 format = "wheel";
22
23 # We fetch a wheel because while we can fetch the node
24 # artifacts using npm, the bundling invoked in setup.py
25 # tries to fetch even more artifacts
26 src = fetchPypi {
27 inherit pname version format;
28 hash = "sha256-HDtKM11W1aoM9dbhw2hKKX4kpiz5k0XF6euFUoN7l8M=";
29 dist = "py3";
30 python = "py3";
31 };
32
33 pythonRelaxDeps = [ "bokeh" ];
34
35 propagatedBuildInputs = [
36 bleach
37 bokeh
38 markdown
39 param
40 pyct
41 pyviz-comms
42 requests
43 setuptools
44 tqdm
45 typing-extensions
46 ];
47
48 pythonImportsCheck = [ "panel" ];
49
50 # infinite recursion in test dependencies (hvplot)
51 doCheck = false;
52
53 meta = with lib; {
54 description = "High level dashboarding library for python visualization libraries";
55 mainProgram = "panel";
56 homepage = "https://github.com/holoviz/panel";
57 changelog = "https://github.com/holoviz/panel/releases/tag/v${version}";
58 license = licenses.bsd3;
59 maintainers = [ ];
60 };
61}