Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.6 kB · 100 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101{ buildPythonPackage, fetchPypi, futures ? null, isPy27, isPyPy, jinja2, lib, mock, numpy, nodejs, packaging, pillow#, pytestCheckHook#, pytest, python-dateutil, pyyaml, selenium, six, substituteAll, tornado, typing-extensions, pytz, flaky, networkx, beautifulsoup4, requests, nbconvert, icalendar, pandas, pythonImportsCheckHook}:
buildPythonPackage rec { pname = "bokeh"; # update together with panel which is not straightforward version = "2.4.3";
src = fetchPypi { inherit pname version; hash = "sha256-7zOAEWGvN5Zlq3o0aE8iCYYeOu/VyAOiH7u5nZSHSwM="; };
patches = [ (substituteAll { src = ./hardcode-nodejs-npmjs-paths.patch; node_bin = "${nodejs}/bin/node"; npm_bin = "${nodejs}/bin/npm"; }) ];
disabled = isPyPy || isPy27;
nativeBuildInputs = [ pythonImportsCheckHook ];
pythonImportsCheck = [ "bokeh" ];
nativeCheckInputs = [ mock pytest pillow selenium pytz flaky networkx beautifulsoup4 requests nbconvert icalendar pandas ];
propagatedBuildInputs = [ pillow jinja2 python-dateutil six pyyaml tornado numpy packaging typing-extensions ] ++ lib.optionals ( isPy27 ) [ futures ];
# This test suite is a complete pain. Somehow it can't find its fixtures. doCheck = false;
meta = { description = "Statistical and novel interactive HTML plots for Python"; homepage = "https://github.com/bokeh/bokeh"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ orivej ]; };}