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