Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / matplotlib-inline / default.nix
blobf960882b1617c28823aa92ab21903c66d2120a33
1 { lib, buildPythonPackage, fetchPypi
2 , traitlets
4 # tests
5 , ipython
6 }:
8 buildPythonPackage rec {
9   pname = "matplotlib-inline";
10   version = "0.1.6";
12   src = fetchPypi {
13     inherit pname version;
14     hash = "sha256-+Ifl8Qupjo0rFQ3c9HAsHl+LOiAAXrD3S/29Ng7m8wQ=";
15   };
17   propagatedBuildInputs = [
18     traitlets
19   ];
21   # wants to import ipython, which creates a circular dependency
22   doCheck = false;
24   #
25   pythonImportsCheck = [
26     # tries to import matplotlib, which can't work with doCheck disabled
27     #"matplotlib_inline"
28   ];
30   passthru.tests = { inherit ipython; };
32   meta = with lib; {
33     description = "Matplotlib Inline Back-end for IPython and Jupyter";
34     homepage = "https://github.com/ipython/matplotlib-inline";
35     license = licenses.bsd3;
36     maintainers = with maintainers; [ jonringer ];
37   };