1{ lib
2, buildPythonPackage
3, fetchPypi
4, ipykernel
5, ipywidgets
6, matplotlib
7}:
8
9buildPythonPackage rec {
10 pname = "ipympl";
11 version = "0.9.2";
12 format = "wheel";
13
14 src = fetchPypi {
15 inherit pname version format;
16 sha256 = "sha256-ZVYE8L9tJkz1mXZpUKWybiktEHzCPhl1A2R+dUF5gcw=";
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}