1{ lib, buildPythonPackage, fetchPypi 2, matplotlib 3, traitlets 4 5# tests 6, ipython 7}: 8 9buildPythonPackage rec { 10 pname = "matplotlib-inline"; 11 version = "0.1.3"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "a04bfba22e0d1395479f866853ec1ee28eea1485c1d69a6faf00dc3e24ff34ee"; 16 }; 17 18 propagatedBuildInputs = [ 19 matplotlib # not documented, but required 20 traitlets 21 ]; 22 23 # wants to import ipython, which creates a circular dependency 24 doCheck = false; 25 pythonImportsCheck = [ "matplotlib_inline" ]; 26 27 passthru.tests = { inherit ipython; }; 28 29 meta = with lib; { 30 description = "Matplotlib Inline Back-end for IPython and Jupyter"; 31 homepage = "https://github.com/ipython/matplotlib-inline"; 32 license = licenses.bsd3; 33 maintainers = with maintainers; [ jonringer ]; 34 }; 35}