46 buildPythonPackage rec {
48 # update together with panel which is not straightforward
52 disabled = pythonOlder "3.9";
55 inherit pname version;
56 hash = "sha256-LzBD2eyz1dwujA6/itVXJ2FxiNTlNPPnIIs2NX41I5Y=";
59 src_test = fetchFromGitHub {
62 rev = "refs/tags/${version}";
63 hash = "sha256-MAv+6bwc5f+jZasRDsYTJ/ir0i1pYCuwqPMumsYWvws=";
68 src = ./hardcode-nodejs-npmjs-paths.patch;
69 node_bin = "${nodejs}/bin/node";
70 npm_bin = "${nodejs}/bin/npm";
75 substituteInPlace pyproject.toml \
76 --replace-fail ', "setuptools-git-versioning"' "" \
77 --replace-fail 'dynamic = ["version"]' 'version = "${version}"'
125 doCheck = false; # need more work
126 pytestFlagsArray = "tests/test_defaults.py";
127 pythonImportsCheck = [ "bokeh" ];
129 cp -rv ''${src_test}/tests/* ./tests/
133 description = "Statistical and novel interactive HTML plots for Python";
134 mainProgram = "bokeh";
135 homepage = "https://github.com/bokeh/bokeh";
136 license = lib.licenses.bsd3;
137 maintainers = with lib.maintainers; [ orivej ];