depot/third_party/nixpkgs/pkgs/development/python-modules/panel/default.nix
Default email 8e65f7f0cc Project import generated by Copybara.
GitOrigin-RevId: 062a0c5437b68f950b081bbfc8a699d57a4ee026
2022-03-05 17:20:37 +01:00

53 lines
979 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, bleach
, bokeh
, param
, pyviz-comms
, markdown
, pyct
, testpath
, tqdm
, nodejs
}:
buildPythonPackage rec {
pname = "panel";
version = "0.12.6";
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-ARAbBM0QYZlZqV51lMRoEZEQH1jlHRhlon3nfTi7dnM=";
};
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 ];
};
}