2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, ipywidgets, matplotlib }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "0.7.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "f0f1f356d8cb9d4fb51bb86dbbf837c190145316cb72f66081872ebc4d6db0a1";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ipywidgets matplotlib ];
|
|
|
|
|
|
|
|
# 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";
|
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|