18 buildPythonPackage rec {
23 disabled = pythonOlder "3.8";
26 inherit pname version;
27 hash = "sha256-v1/8taHdN1n9+gy7L+g/wAJ2x9FwYCaxZiEdFqLct1Y=";
31 # https://github.com/vega/ipyvega/pull/507
33 name = "replace-poetry-with-poetry-core.patch";
34 url = "https://github.com/vega/ipyvega/commit/1a5028ee5d54e24b9650b66685f54c42b72c7899.patch";
35 hash = "sha256-W8UmMit7DJGKCM9+/OSRLTuRvC0ZR42AP/b/frVEvsk=";
43 pythonRelaxDeps = [ "pandas" ];
45 propagatedBuildInputs = [
52 optional-dependencies = {
53 widget = [ ipywidgets ];
54 jupyterlab = [ jupyterlab ];
63 # these tests are broken with jupyter-notebook >= 7
64 "vega/tests/test_entrypoint.py"
67 pythonImportsCheck = [ "vega" ];
70 description = "IPython/Jupyter widget for Vega and Vega-Lite";
72 To use this you have to enter a nix-shell with vega. Then run:
74 jupyter nbextension install --user --py vega
75 jupyter nbextension enable --user vega
77 homepage = "https://github.com/vega/ipyvega";
78 license = licenses.bsd3;
79 maintainers = with maintainers; [ teh ];