2021-05-09 00:21:52 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-11-30 09:00:56 +00:00
|
|
|
, ipykernel
|
2021-05-09 00:21:52 +01:00
|
|
|
, ipywidgets
|
2022-04-10 16:01:03 +01:00
|
|
|
, matplotlib
|
2021-05-09 00:21:52 +01:00
|
|
|
}:
|
2019-11-27 16:35:16 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2022-04-14 12:16:57 +01:00
|
|
|
version = "0.9.0";
|
2021-11-30 09:00:56 +00:00
|
|
|
format = "wheel";
|
2019-11-27 16:35:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-11-30 09:00:56 +00:00
|
|
|
inherit pname version format;
|
2022-04-14 12:16:57 +01:00
|
|
|
sha256 = "sha256-HpO3T/zRbimxd1+nUkbSmclj7nPsMYuSUK0VJItZQs4=";
|
2019-11-27 16:35:16 +00:00
|
|
|
};
|
|
|
|
|
2021-11-30 09:00:56 +00:00
|
|
|
|
2022-04-10 16:01:03 +01:00
|
|
|
propagatedBuildInputs = [ ipykernel ipywidgets matplotlib ];
|
2019-11-27 16:35:16 +00:00
|
|
|
|
|
|
|
# There are no unit tests in repository
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ipympl" "ipympl.backend_nbagg" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Matplotlib Jupyter Extension";
|
2020-04-06 22:21:12 +01:00
|
|
|
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
|
2021-11-30 09:00:56 +00:00
|
|
|
maintainers = with maintainers; [ jluttine fabiangd ];
|
2019-11-27 16:35:16 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|