2022-05-18 14:49:53 +00:00
|
|
|
{ buildPythonPackage
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
2024-02-29 20:09:43 +00:00
|
|
|
, setuptools
|
|
|
|
, wheel
|
|
|
|
, comm
|
2020-04-24 23:36:52 +00:00
|
|
|
, ipykernel
|
2022-05-18 14:49:53 +00:00
|
|
|
, ipython
|
2024-02-29 20:09:43 +00:00
|
|
|
, jsonschema
|
2021-04-26 19:14:03 +00:00
|
|
|
, jupyterlab-widgets
|
2022-05-18 14:49:53 +00:00
|
|
|
, lib
|
2024-04-21 15:54:59 +00:00
|
|
|
, pytest7CheckHook
|
2022-09-30 11:47:45 +00:00
|
|
|
, pytz
|
2020-04-24 23:36:52 +00:00
|
|
|
, traitlets
|
|
|
|
, widgetsnbextension
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ipywidgets";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "8.1.2";
|
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-0Lm0Hkm66SaoZuYTo5sPAJd0XSufHz3UBmQbSlfsQsk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
wheel
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
propagatedBuildInputs = [
|
2024-02-29 20:09:43 +00:00
|
|
|
comm
|
2020-04-24 23:36:52 +00:00
|
|
|
ipython
|
2021-04-26 19:14:03 +00:00
|
|
|
jupyterlab-widgets
|
2020-04-24 23:36:52 +00:00
|
|
|
traitlets
|
|
|
|
widgetsnbextension
|
|
|
|
];
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
ipykernel
|
|
|
|
jsonschema
|
2024-04-21 15:54:59 +00:00
|
|
|
pytest7CheckHook
|
2024-02-29 20:09:43 +00:00
|
|
|
pytz
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IPython HTML widgets for Jupyter";
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/jupyter-widgets/ipywidgets";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|