2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2023-02-16 17:41:37 +00:00
|
|
|
, pythonRelaxDepsHook
|
2021-09-18 10:52:07 +00:00
|
|
|
, bleach
|
2020-04-24 23:36:52 +00:00
|
|
|
, bokeh
|
|
|
|
, param
|
|
|
|
, pyviz-comms
|
|
|
|
, markdown
|
|
|
|
, pyct
|
2023-02-16 17:41:37 +00:00
|
|
|
, requests
|
|
|
|
, setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
, tqdm
|
2023-02-16 17:41:37 +00:00
|
|
|
, typing-extensions
|
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";
|
2023-02-16 17:41:37 +00:00
|
|
|
version = "0.14.3";
|
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;
|
2023-02-16 17:41:37 +00:00
|
|
|
hash = "sha256-XOu17oydXwfyowYUmCKF7/RC0RQ0Uf1Ixmn+VTa85Lo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-16 17:41:37 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pythonRelaxDepsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"bokeh"
|
|
|
|
];
|
|
|
|
|
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
|
|
|
|
markdown
|
2023-02-16 17:41:37 +00:00
|
|
|
param
|
2020-04-24 23:36:52 +00:00
|
|
|
pyct
|
2023-02-16 17:41:37 +00:00
|
|
|
pyviz-comms
|
|
|
|
requests
|
|
|
|
setuptools
|
2020-04-24 23:36:52 +00:00
|
|
|
tqdm
|
2023-02-16 17:41:37 +00:00
|
|
|
typing-extensions
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"panel"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# infinite recursion in test dependencies (hvplot)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A high level dashboarding library for python visualization libraries";
|
2023-02-16 17:41:37 +00:00
|
|
|
homepage = "https://github.com/holoviz/panel";
|
|
|
|
changelog = "https://github.com/holoviz/panel/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
2023-02-16 17:41:37 +00:00
|
|
|
maintainers = with maintainers; [ costrouc ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|