1{ lib
2, buildPythonPackage
3, fetchPypi
4, jupyter-packaging
5, notebook
6, ipywidgets
7}:
8
9buildPythonPackage rec {
10 pname = "widgetsnbextension";
11 version = "4.0.3";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-NIJIZMBisLMDCteCENta5qOWDfth1bJ1YtZjF3TeAoY=";
17 };
18
19 nativeBuildInputs = [
20 jupyter-packaging
21 ];
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 maintainers = with lib.maintainers; [ fridh ];
31 };
32}