nixpkgs/pkgs/development/python-modules/ipympl/default.nix
2021-11-30 10:00:56 +01:00

31 lines
693 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ipykernel
, ipywidgets
}:
buildPythonPackage rec {
pname = "ipympl";
version = "0.8.2";
format = "wheel";
src = fetchPypi {
inherit pname version format;
sha256 = "0509gzm5557lyxx8k3qqgp14ifnmfx796cfc8f592mv97pxkyibl";
};
propagatedBuildInputs = [ ipykernel ipywidgets ];
# 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";
maintainers = with maintainers; [ jluttine fabiangd ];
license = licenses.bsd3;
};
}