159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
49 lines
799 B
Nix
49 lines
799 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
comm,
|
|
ipykernel,
|
|
ipython,
|
|
jsonschema,
|
|
jupyterlab-widgets,
|
|
lib,
|
|
pytestCheckHook,
|
|
pytz,
|
|
traitlets,
|
|
widgetsnbextension,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipywidgets";
|
|
version = "8.1.5";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-hw5DsaNWVqgMGMlQO78tFoAtsctIfuxvqyfWgzgd3hc=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
comm
|
|
ipython
|
|
jupyterlab-widgets
|
|
traitlets
|
|
widgetsnbextension
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
ipykernel
|
|
jsonschema
|
|
pytestCheckHook
|
|
pytz
|
|
];
|
|
|
|
meta = {
|
|
description = "IPython HTML widgets for Jupyter";
|
|
homepage = "https://github.com/jupyter-widgets/ipywidgets";
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|