1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 jupyter-packaging,
6 ipywidgets,
7}:
8
9buildPythonPackage rec {
10 pname = "widgetsnbextension";
11 version = "4.0.10";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-ZBlsX/O5qRg6jmmaQif7C3AC8lLIFAmOZsTRzQZEaI8=";
17 };
18
19 nativeBuildInputs = [ jupyter-packaging ];
20
21 pythonImportsCheck = [ "widgetsnbextension" ];
22
23 # No tests in archive
24 doCheck = false;
25
26 meta = {
27 description = "IPython HTML widgets for Jupyter";
28 homepage = "https://github.com/jupyter-widgets/ipywidgets/tree/master/python/widgetsnbextension";
29 license = ipywidgets.meta.license; # Build from same repo
30 };
31}