2019-11-27 16:35:16 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, ipywidgets, matplotlib }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2020-04-06 22:21:12 +01:00
|
|
|
version = "0.5.6";
|
2019-11-27 16:35:16 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-06 22:21:12 +01:00
|
|
|
sha256 = "1sak58wcpikn4ww1k8gr2vf1hmwzfly31hzcnwiizp7l0vk40qh7";
|
2019-11-27 16:35:16 +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";
|
2020-04-06 22:21:12 +01:00
|
|
|
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
|
2019-11-27 16:35:16 +00:00
|
|
|
maintainers = with maintainers; [ jluttine ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|