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

54 lines
920 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
ipykernel,
ipython-genutils,
ipywidgets,
matplotlib,
numpy,
pillow,
traitlets,
}:
buildPythonPackage rec {
pname = "ipympl";
version = "0.9.7";
format = "wheel";
src = fetchPypi {
inherit pname version;
format = "wheel";
hash = "sha256-NpjufqoLBHp2A1F9eqG3GzIRil9RdUyrRexdmU9nII8=";
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 = {
description = "Matplotlib Jupyter Extension";
homepage = "https://github.com/matplotlib/jupyter-matplotlib";
maintainers = with lib.maintainers; [
jluttine
fabiangd
];
license = lib.licenses.bsd3;
};
}