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.

32 lines
692 B
Nix
Raw Normal View History

2021-05-08 23:21:52 +00:00
{ lib
, buildPythonPackage
, fetchPypi
2021-11-30 09:00:56 +00:00
, ipykernel
2021-05-08 23:21:52 +00:00
, ipywidgets
}:
2019-11-27 16:35:16 +00:00
buildPythonPackage rec {
pname = "ipympl";
2022-03-02 21:42:02 +00:00
version = "0.8.8";
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;
2022-03-02 21:42:02 +00:00
sha256 = "sha256-hkaK6q6MCigAfQx/bbuF8rbLmAUWfojU2qdSlWIAkVk=";
2019-11-27 16:35:16 +00:00
};
2021-11-30 09:00:56 +00:00
propagatedBuildInputs = [ ipykernel ipywidgets ];
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;
};
}