3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ipympl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
716 B
Nix
Raw Normal View History

2021-05-09 00:21:52 +01:00
{ lib
, buildPythonPackage
, fetchPypi
2021-11-30 09:00:56 +00:00
, ipykernel
2021-05-09 00:21:52 +01:00
, ipywidgets
, matplotlib
2021-05-09 00:21:52 +01:00
}:
2019-11-27 16:35:16 +00:00
buildPythonPackage rec {
pname = "ipympl";
version = "0.9.0";
2021-11-30 09:00:56 +00:00
format = "wheel";
2019-11-27 16:35:16 +00:00
src = fetchPypi {
2021-11-30 09:00:56 +00:00
inherit pname version format;
sha256 = "sha256-HpO3T/zRbimxd1+nUkbSmclj7nPsMYuSUK0VJItZQs4=";
2019-11-27 16:35:16 +00:00
};
2021-11-30 09:00:56 +00:00
propagatedBuildInputs = [ ipykernel ipywidgets matplotlib ];
2019-11-27 16:35:16 +00:00
# There are no unit tests in repository
doCheck = false;
pythonImportsCheck = [ "ipympl" "ipympl.backend_nbagg" ];
meta = with lib; {
description = "Matplotlib Jupyter Extension";
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
2021-11-30 09:00:56 +00:00
maintainers = with maintainers; [ jluttine fabiangd ];
2019-11-27 16:35:16 +00:00
license = licenses.bsd3;
};
}