depot/third_party/nixpkgs/pkgs/development/python-modules/ipywidgets/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

42 lines
751 B
Nix

{ buildPythonPackage
, fetchPypi
, ipykernel
, ipython
, jupyterlab-widgets
, lib
, nbformat
, pytestCheckHook
, pytz
, traitlets
, widgetsnbextension
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "8.0.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-3n13nyBF1g3p9sJfZT/a4tuleJjmoShElLO6ILaJO7g=";
};
propagatedBuildInputs = [
ipython
ipykernel
jupyterlab-widgets
traitlets
nbformat
pytz
widgetsnbextension
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = "https://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}