2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
42 lines
751 B
Nix
42 lines
751 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, ipykernel
|
|
, ipython
|
|
, jupyterlab-widgets
|
|
, lib
|
|
, nbformat
|
|
, pytestCheckHook
|
|
, pytz
|
|
, traitlets
|
|
, widgetsnbextension
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipywidgets";
|
|
version = "8.1.1";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-QCEe+1Vq3sb6RQzMKnfVnKRKBg9PnxNoM99ZyfU45ug=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ipython
|
|
ipykernel
|
|
jupyterlab-widgets
|
|
traitlets
|
|
nbformat
|
|
pytz
|
|
widgetsnbextension
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = {
|
|
description = "IPython HTML widgets for Jupyter";
|
|
homepage = "https://ipython.org/";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
}
|