diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-06-18 19:03:01 -0700 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-06-22 13:42:50 +0200 |
commit | 535901f904a1fc0e3252db5323b97e9102b3bfcf (patch) | |
tree | 483544fefaad6c8216173ebb14a7c23ddf7a7aea /pkgs/development/python-modules/matplotlib-inline | |
parent | cfcdc3859e7831361a10cced0b41047e9985b4da (diff) |
python3Packages.matplotlib-inline: init at 0.1.2
Diffstat (limited to 'pkgs/development/python-modules/matplotlib-inline')
-rw-r--r-- | pkgs/development/python-modules/matplotlib-inline/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/matplotlib-inline/default.nix b/pkgs/development/python-modules/matplotlib-inline/default.nix new file mode 100644 index 0000000000000..f4c220dea6c6d --- /dev/null +++ b/pkgs/development/python-modules/matplotlib-inline/default.nix @@ -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 ]; + }; +} |