2021-05-08 23:21:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2021-11-30 09:00:56 +00:00
|
|
|
, ipykernel
|
2021-05-08 23:21:52 +00:00
|
|
|
, ipywidgets
|
2022-04-10 15:01:03 +00:00
|
|
|
, matplotlib
|
2021-05-08 23:21:52 +00:00
|
|
|
}:
|
2019-11-27 16:35:16 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2023-02-19 04:10:05 +00:00
|
|
|
version = "0.9.3";
|
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;
|
2023-03-03 00:48:06 +00:00
|
|
|
hash = "sha256-0RPNVYkbr+myfvmbbdERqHvra7KuVQxAQpInIQO+gBM=";
|
2019-11-27 16:35:16 +00:00
|
|
|
};
|
|
|
|
|
2021-11-30 09:00:56 +00:00
|
|
|
|
2022-04-10 15:01:03 +00: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 21:21:12 +00: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;
|
|
|
|
};
|
|
|
|
}
|