nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildPythonPackage
2, fetchPypi
3, ipykernel
4, ipython
5, jupyterlab-widgets
6, lib
7, nbformat
8, pytestCheckHook
9, traitlets
10, widgetsnbextension
11}:
12
13buildPythonPackage rec {
14 pname = "ipywidgets";
15 version = "7.7.0";
16 format = "setuptools";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-q0pVloVaiLg3YZIcdocH1l5YRwaBObwXKd3+g0cDVCo=";
21 };
22
23 propagatedBuildInputs = [
24 ipython
25 ipykernel
26 jupyterlab-widgets
27 traitlets
28 nbformat
29 widgetsnbextension
30 ];
31
32 checkInputs = [ pytestCheckHook ];
33
34 meta = {
35 description = "IPython HTML widgets for Jupyter";
36 homepage = "http://ipython.org/";
37 license = lib.licenses.bsd3;
38 maintainers = with lib.maintainers; [ fridh ];
39 };
40}