Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchPypi 4, ipykernel 5, ipywidgets 6, matplotlib 7}: 8 9buildPythonPackage rec { 10 pname = "ipympl"; 11 version = "0.9.3"; 12 format = "wheel"; 13 14 src = fetchPypi { 15 inherit pname version format; 16 hash = "sha256-0RPNVYkbr+myfvmbbdERqHvra7KuVQxAQpInIQO+gBM="; 17 }; 18 19 20 propagatedBuildInputs = [ ipykernel ipywidgets matplotlib ]; 21 22 # There are no unit tests in repository 23 doCheck = false; 24 pythonImportsCheck = [ "ipympl" "ipympl.backend_nbagg" ]; 25 26 meta = with lib; { 27 description = "Matplotlib Jupyter Extension"; 28 homepage = "https://github.com/matplotlib/jupyter-matplotlib"; 29 maintainers = with maintainers; [ jluttine fabiangd ]; 30 license = licenses.bsd3; 31 }; 32}