2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
jupyter-packaging,
|
|
|
|
ipywidgets,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "widgetsnbextension";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "4.0.11";
|
2024-02-29 20:09:43 +00:00
|
|
|
pyproject = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-iyKo8ZEL/RiOWW/n/AXcvYfoEMikugEL2z2oZjc5hHQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ jupyter-packaging ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "widgetsnbextension" ];
|
2024-02-29 20:09:43 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "IPython HTML widgets for Jupyter";
|
2022-09-30 11:47:45 +00:00
|
|
|
homepage = "https://github.com/jupyter-widgets/ipywidgets/tree/master/python/widgetsnbextension";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = ipywidgets.meta.license; # Build from same repo
|
|
|
|
};
|
|
|
|
}
|