depot/third_party/nixpkgs/pkgs/development/python-modules/ipywidgets/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

52 lines
824 B
Nix

{ buildPythonPackage
, fetchPypi
, setuptools
, wheel
, comm
, ipykernel
, ipython
, jsonschema
, jupyterlab-widgets
, lib
, pytest7CheckHook
, pytz
, traitlets
, widgetsnbextension
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "8.1.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-0Lm0Hkm66SaoZuYTo5sPAJd0XSufHz3UBmQbSlfsQsk=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
comm
ipython
jupyterlab-widgets
traitlets
widgetsnbextension
];
nativeCheckInputs = [
ipykernel
jsonschema
pytest7CheckHook
pytz
];
meta = {
description = "IPython HTML widgets for Jupyter";
homepage = "https://github.com/jupyter-widgets/ipywidgets";
license = lib.licenses.bsd3;
};
}