Files

50 lines
799 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildPythonPackage,
fetchPypi,
setuptools,
comm,
ipykernel,
ipython,
jsonschema,
jupyterlab-widgets,
lib,
pytestCheckHook,
pytz,
traitlets,
widgetsnbextension,
}:
buildPythonPackage rec {
pname = "ipywidgets";
version = "8.1.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-FfGsBQucy+/UXcz7su9r7QAp2CeGgtVp1xuN2WvuA3Y=";
};
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;
};
}