python3Packages.matplotlib-inline: init at 0.1.2

This commit is contained in:
Jonathan Ringer 2021-06-18 19:03:01 -07:00 committed by Martin Weinelt
parent cfcdc3859e
commit 535901f904
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib, buildPythonPackage, fetchPypi
, matplotlib
, traitlets
# tests
, ipython
}:
buildPythonPackage rec {
pname = "matplotlib-inline";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0glrhcv1zqck1whsh3p75x0chda588xw22swbmvqalwz7kvmy7gl";
};
propagatedBuildInputs = [
matplotlib # not documented, but required
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 ];
};
}

View File

@ -4313,6 +4313,8 @@ in {
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
};
matplotlib-inline = callPackage ../development/python-modules/matplotlib-inline { };
matrix-api-async = callPackage ../development/python-modules/matrix-api-async { };
matrix-client = callPackage ../development/python-modules/matrix-client { };