2021-05-20 23:08:51 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-12-06 16:07:01 +00:00
|
|
|
, ipykernel
|
2021-05-20 23:08:51 +00:00
|
|
|
, ipywidgets
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2022-01-07 04:07:37 +00:00
|
|
|
version = "0.8.5";
|
2021-12-06 16:07:01 +00:00
|
|
|
format = "wheel";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-12-06 16:07:01 +00:00
|
|
|
inherit pname version format;
|
2022-01-07 04:07:37 +00:00
|
|
|
sha256 = "120a084d84e6a6a00fc39c73e10345dcd9855efb3fa6e774f3e72057a866715c";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ ipykernel ipywidgets ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# There are no unit tests in repository
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ipympl" "ipympl.backend_nbagg" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Matplotlib Jupyter Extension";
|
|
|
|
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ jluttine fabiangd ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|