1{ lib 2, buildPythonPackage 3, pythonOlder 4, fetchPypi 5, ipykernel 6, ipython-genutils 7, ipywidgets 8, matplotlib 9, numpy 10, pillow 11, traitlets 12}: 13 14buildPythonPackage rec { 15 pname = "ipympl"; 16 version = "0.9.3"; 17 format = "wheel"; 18 19 disabled = pythonOlder "3.5"; 20 21 src = fetchPypi { 22 inherit pname version format; 23 hash = "sha256-0RPNVYkbr+myfvmbbdERqHvra7KuVQxAQpInIQO+gBM="; 24 }; 25 26 propagatedBuildInputs = [ 27 ipykernel 28 ipython-genutils 29 ipywidgets 30 matplotlib 31 numpy 32 pillow 33 traitlets 34 ]; 35 36 # There are no unit tests in repository 37 doCheck = false; 38 pythonImportsCheck = [ "ipympl" "ipympl.backend_nbagg" ]; 39 40 meta = with lib; { 41 description = "Matplotlib Jupyter Extension"; 42 homepage = "https://github.com/matplotlib/jupyter-matplotlib"; 43 maintainers = with maintainers; [ jluttine fabiangd ]; 44 license = licenses.bsd3; 45 }; 46}