2019-11-27 17:35:16 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, ipywidgets, matplotlib }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipympl";
|
2020-10-01 00:21:42 +02:00
|
|
|
version = "0.5.8";
|
2019-11-27 17:35:16 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-01 00:21:42 +02:00
|
|
|
sha256 = "0e2f2e540a2dfea61524b7993fc8552c9236b1aaa3826e1f382c75cb2fa5c382";
|
2019-11-27 17:35:16 +01: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 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;
|
|
|
|
};
|
|
|
|
}
|