83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
32 lines
714 B
Nix
32 lines
714 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, ipykernel
|
|
, ipywidgets
|
|
, matplotlib
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipympl";
|
|
version = "0.9.3";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version format;
|
|
hash = "sha256-0RPNVYkbr+myfvmbbdERqHvra7KuVQxAQpInIQO+gBM=";
|
|
};
|
|
|
|
|
|
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;
|
|
};
|
|
}
|