depot/third_party/nixpkgs/pkgs/development/python-modules/ipywidgets/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

49 lines
799 B
Nix

{
buildPythonPackage,
fetchPypi,
setuptools,
comm,
ipykernel,
ipython,
jsonschema,
jupyterlab-widgets,
lib,
pytestCheckHook,
pytz,
traitlets,
widgetsnbextension,
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "8.1.5";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-hw5DsaNWVqgMGMlQO78tFoAtsctIfuxvqyfWgzgd3hc=";
};
build-system = [ setuptools ];
dependencies = [
comm
ipython
jupyterlab-widgets
traitlets
widgetsnbextension
];
nativeCheckInputs = [
ipykernel
jsonschema
pytestCheckHook
pytz
];
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = "https://github.com/jupyter-widgets/ipywidgets";
license = lib.licenses.bsd3;
};
}