fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
55 lines
955 B
Nix
55 lines
955 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
ipykernel,
|
|
ipython-genutils,
|
|
ipywidgets,
|
|
matplotlib,
|
|
numpy,
|
|
pillow,
|
|
traitlets,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipympl";
|
|
version = "0.9.4";
|
|
format = "wheel";
|
|
|
|
disabled = pythonOlder "3.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version format;
|
|
hash = "sha256-WwwIxvT26mVbpYI5NjRXwQ+5IVV/UDjBpG20RX1taw4=";
|
|
dist = "py3";
|
|
python = "py3";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ipykernel
|
|
ipython-genutils
|
|
ipywidgets
|
|
matplotlib
|
|
numpy
|
|
pillow
|
|
traitlets
|
|
];
|
|
|
|
# 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;
|
|
};
|
|
}
|