3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ipympl/default.nix
2022-04-14 11:16:57 +00:00

33 lines
716 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, ipykernel
, ipywidgets
, matplotlib
}:
buildPythonPackage rec {
pname = "ipympl";
version = "0.9.0";
format = "wheel";
src = fetchPypi {
inherit pname version format;
sha256 = "sha256-HpO3T/zRbimxd1+nUkbSmclj7nPsMYuSUK0VJItZQs4=";
};
propagatedBuildInputs = [ ipykernel ipywidgets matplotlib ];
# 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;
};
}