about summary refs log tree commit diff
path: root/pkgs/development/python-modules/widgetsnbextension/default.nix
blob: 97efa00b972c5ceb1753f349d0e512904bb2b09e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, buildPythonPackage
, fetchPypi
, jupyter-packaging
, ipywidgets
}:

buildPythonPackage rec {
  pname = "widgetsnbextension";
  version = "4.0.10";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-ZBlsX/O5qRg6jmmaQif7C3AC8lLIFAmOZsTRzQZEaI8=";
  };

  nativeBuildInputs = [
    jupyter-packaging
  ];

  pythonImportsCheck = [
    "widgetsnbextension"
  ];

  # No tests in archive
  doCheck = false;

  meta = {
    description = "IPython HTML widgets for Jupyter";
    homepage = "https://github.com/jupyter-widgets/ipywidgets/tree/master/python/widgetsnbextension";
    license = ipywidgets.meta.license; # Build from same repo
    maintainers = with lib.maintainers; [ fridh ];
  };
}