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=";
48 propagatedBuildInputs = [
55 passthru.optional-dependencies = {
70 # these tests are broken with jupyter-notebook >= 7
71 "vega/tests/test_entrypoint.py"
74 pythonImportsCheck = [ "vega" ];
77 description = "An IPython/Jupyter widget for Vega and Vega-Lite";
79 To use this you have to enter a nix-shell with vega. Then run:
81 jupyter nbextension install --user --py vega
82 jupyter nbextension enable --user vega
84 homepage = "https://github.com/vega/ipyvega";
85 license = licenses.bsd3;
86 maintainers = with maintainers; [ teh ];