2019-02-24 10:24:42 -05:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-08-26 21:32:40 +02:00
|
|
|
, bleach
|
2019-02-24 10:24:42 -05:00
|
|
|
, bokeh
|
|
|
|
, param
|
|
|
|
, pyviz-comms
|
|
|
|
, markdown
|
|
|
|
, pyct
|
|
|
|
, testpath
|
2020-04-24 12:08:41 +02:00
|
|
|
, tqdm
|
2022-02-25 13:36:54 +01:00
|
|
|
, nodejs
|
2019-02-24 10:24:42 -05:00
|
|
|
}:
|
|
|
|
|
2021-08-26 21:32:40 +02:00
|
|
|
buildPythonPackage rec {
|
2019-02-24 10:24:42 -05:00
|
|
|
pname = "panel";
|
2021-12-26 15:31:58 +00:00
|
|
|
version = "0.12.6";
|
2019-02-24 10:24:42 -05:00
|
|
|
|
2022-02-25 13:36:54 +01: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
|
2019-02-24 10:24:42 -05:00
|
|
|
src = fetchPypi {
|
2022-02-25 13:36:54 +01:00
|
|
|
inherit pname version format;
|
|
|
|
hash = "sha256-ARAbBM0QYZlZqV51lMRoEZEQH1jlHRhlon3nfTi7dnM=";
|
2019-02-24 10:24:42 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-08-26 21:32:40 +02:00
|
|
|
bleach
|
2019-02-24 10:24:42 -05:00
|
|
|
bokeh
|
|
|
|
param
|
|
|
|
pyviz-comms
|
|
|
|
markdown
|
|
|
|
pyct
|
|
|
|
testpath
|
2020-04-24 12:08:41 +02:00
|
|
|
tqdm
|
2019-02-24 10:24:42 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
# infinite recursion in test dependencies (hvplot)
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-04-07 16:21:08 +02:00
|
|
|
passthru = {
|
2022-02-25 13:36:54 +01:00
|
|
|
inherit nodejs; # For convenience
|
2021-04-07 16:21:08 +02:00
|
|
|
};
|
|
|
|
|
2019-02-24 10:24:42 -05:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A high level dashboarding library for python visualization libraries";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://pyviz.org";
|
2019-02-24 10:24:42 -05:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|