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