22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
53 lines
979 B
Nix
53 lines
979 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, bleach
|
|
, bokeh
|
|
, param
|
|
, pyviz-comms
|
|
, markdown
|
|
, pyct
|
|
, testpath
|
|
, tqdm
|
|
, nodejs
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "panel";
|
|
version = "0.13.0";
|
|
|
|
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
|
|
src = fetchPypi {
|
|
inherit pname version format;
|
|
hash = "sha256-Iv1Lb45n2XUHSluZzdF2Bf/hXZmgs++9/av26rHgePc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
bleach
|
|
bokeh
|
|
param
|
|
pyviz-comms
|
|
markdown
|
|
pyct
|
|
testpath
|
|
tqdm
|
|
];
|
|
|
|
# infinite recursion in test dependencies (hvplot)
|
|
doCheck = false;
|
|
|
|
passthru = {
|
|
inherit nodejs; # For convenience
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A high level dashboarding library for python visualization libraries";
|
|
homepage = "https://pyviz.org";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|