depot/third_party/nixpkgs/pkgs/development/python-modules/ipywidgets/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

47 lines
872 B
Nix

{ buildPythonPackage
, fetchPypi
, ipykernel
, ipython
, jupyterlab-widgets
, lib
, nbformat
, pytestCheckHook
, pytz
, traitlets
, widgetsnbextension
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "8.0.4";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-wABad6R9d4icr+2JK1jjO0oqlnEhVEBMZUjsIicoEeo=";
};
propagatedBuildInputs = [
ipython
ipykernel
jupyterlab-widgets
traitlets
nbformat
pytz
widgetsnbextension
];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# https://github.com/jupyter-widgets/ipywidgets/issues/3711
"test_append_display_data"
];
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = "https://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}