1{ lib
2, buildPythonPackage
3, fetchPypi
4, ipywidgets
5, matplotlib
6, jupyter-packaging
7}:
8
9buildPythonPackage rec {
10 pname = "ipympl";
11 version = "0.8.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "ef5d21820ed88a8bd6efddb884c333d0eaea7f2f7d4b3054e6d386b07a36dd9d";
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}