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