2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-09-18 10:52:07 +00:00
|
|
|
, bleach
|
2020-04-24 23:36:52 +00:00
|
|
|
, bokeh
|
|
|
|
, param
|
|
|
|
, pyviz-comms
|
|
|
|
, markdown
|
|
|
|
, pyct
|
|
|
|
, testpath
|
|
|
|
, tqdm
|
2022-03-05 16:20:37 +00:00
|
|
|
, nodejs
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
buildPythonPackage rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "panel";
|
2022-10-30 15:09:59 +00:00
|
|
|
version = "0.14.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
format = "wheel";
|
|
|
|
|
|
|
|
# We fetch a wheel because while we can fetch the node
|
|
|
|
# artifacts using npm, the bundling invoked in setup.py
|
|
|
|
# tries to fetch even more artifacts
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchPypi {
|
2022-03-05 16:20:37 +00:00
|
|
|
inherit pname version format;
|
2022-10-30 15:09:59 +00:00
|
|
|
hash = "sha256-DSurTC+inYSoGJ047u03K+wEQhGFqqRX0uS5qb3sNEI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-09-18 10:52:07 +00:00
|
|
|
bleach
|
2020-04-24 23:36:52 +00:00
|
|
|
bokeh
|
|
|
|
param
|
|
|
|
pyviz-comms
|
|
|
|
markdown
|
|
|
|
pyct
|
|
|
|
testpath
|
|
|
|
tqdm
|
|
|
|
];
|
|
|
|
|
|
|
|
# infinite recursion in test dependencies (hvplot)
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-04-12 18:23:04 +00:00
|
|
|
passthru = {
|
2022-03-05 16:20:37 +00:00
|
|
|
inherit nodejs; # For convenience
|
2021-04-12 18:23:04 +00:00
|
|
|
};
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A high level dashboarding library for python visualization libraries";
|
|
|
|
homepage = "https://pyviz.org";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|