2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonRelaxDepsHook,
|
|
|
|
bleach,
|
|
|
|
bokeh,
|
|
|
|
param,
|
|
|
|
pyviz-comms,
|
|
|
|
markdown,
|
|
|
|
pyct,
|
|
|
|
requests,
|
|
|
|
setuptools,
|
|
|
|
tqdm,
|
|
|
|
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";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "1.4.4";
|
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;
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-tJu5Z2VnsMBzC/aTSMBXJHCAgRrsVjZN1Pz7qA5eCaA=";
|
2024-05-15 15:35:15 +00:00
|
|
|
dist = "py3";
|
|
|
|
python = "py3";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
2023-02-16 17:41:37 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonRelaxDeps = [ "bokeh" ];
|
2023-02-16 17:41:37 +00:00
|
|
|
|
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
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "panel" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# infinite recursion in test dependencies (hvplot)
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "High level dashboarding library for python visualization libraries";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "panel";
|
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-08-04 22:07:22 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|