3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/ipympl/default.nix

25 lines
654 B
Nix
Raw Normal View History

2019-11-27 16:35:16 +00:00
{ lib, buildPythonPackage, fetchPypi, ipywidgets, matplotlib }:
buildPythonPackage rec {
pname = "ipympl";
version = "0.5.7";
2019-11-27 16:35:16 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "0cjsabsbn02vpf3yl0x9xdqgf4f707mbnz2hp2bn6zp9qnyyirx5";
2019-11-27 16:35:16 +00:00
};
propagatedBuildInputs = [ 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";
2019-11-27 16:35:16 +00:00
maintainers = with maintainers; [ jluttine ];
license = licenses.bsd3;
};
}