2021-05-09 01:21:52 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, ipywidgets
|
|
|
|
, matplotlib
|
|
|
|
, jupyter-packaging
|
|
|
|
}:
|
2019-11-27 17:35:16 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2021-03-24 10:28:14 +01:00
|
|
|
version = "0.7.0";
|
2019-11-27 17:35:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-24 10:28:14 +01:00
|
|
|
sha256 = "f0f1f356d8cb9d4fb51bb86dbbf837c190145316cb72f66081872ebc4d6db0a1";
|
2019-11-27 17:35:16 +01:00
|
|
|
};
|
|
|
|
|
2021-05-09 01:21:52 +02:00
|
|
|
propagatedBuildInputs = [ ipywidgets matplotlib jupyter-packaging ];
|
2019-11-27 17:35:16 +01: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 23:21:12 +02:00
|
|
|
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
|
2019-11-27 17:35:16 +01:00
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|