2021-06-28 23:13:55 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, traitlets
|
|
|
|
|
|
|
|
# tests
|
|
|
|
, ipython
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "matplotlib-inline";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.1.3";
|
2021-06-28 23:13:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "a04bfba22e0d1395479f866853ec1ee28eea1485c1d69a6faf00dc3e24ff34ee";
|
2021-06-28 23:13:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
traitlets
|
|
|
|
];
|
|
|
|
|
|
|
|
# wants to import ipython, which creates a circular dependency
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "matplotlib_inline" ];
|
|
|
|
|
|
|
|
passthru.tests = { inherit ipython; };
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Matplotlib Inline Back-end for IPython and Jupyter";
|
|
|
|
homepage = "https://github.com/ipython/matplotlib-inline";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jonringer ];
|
|
|
|
};
|
|
|
|
}
|