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
714 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
, matplotlib
2021-05-08 23:21:52 +00:00
}:
2019-11-27 16:35:16 +00:00
buildPythonPackage rec {
pname = "ipympl";
version = "0.9.3";
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;
hash = "sha256-0RPNVYkbr+myfvmbbdERqHvra7KuVQxAQpInIQO+gBM=";
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;
};
}