nixpkgs/pkgs/development/python-modules/ipympl/default.nix

32 lines
693 B
Nix
Raw Normal View History

2021-05-09 01:21:52 +02:00
{ lib
, buildPythonPackage
, fetchPypi
2021-11-30 10:00:56 +01:00
, ipykernel
2021-05-09 01:21:52 +02:00
, ipywidgets
}:
2019-11-27 17:35:16 +01:00
buildPythonPackage rec {
pname = "ipympl";
2021-11-30 10:00:56 +01:00
version = "0.8.2";
format = "wheel";
2019-11-27 17:35:16 +01:00
src = fetchPypi {
2021-11-30 10:00:56 +01:00
inherit pname version format;
sha256 = "0509gzm5557lyxx8k3qqgp14ifnmfx796cfc8f592mv97pxkyibl";
2019-11-27 17:35:16 +01:00
};
2021-11-30 10:00:56 +01:00
propagatedBuildInputs = [ ipykernel ipywidgets ];
2019-11-27 17:35:16 +01: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 10:00:56 +01:00
maintainers = with maintainers; [ jluttine fabiangd ];
2019-11-27 17:35:16 +01:00
license = licenses.bsd3;
};
}