c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
53 lines
873 B
Nix
53 lines
873 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, wheel
|
|
, comm
|
|
, ipykernel
|
|
, ipython
|
|
, jsonschema
|
|
, jupyterlab-widgets
|
|
, lib
|
|
, pytestCheckHook
|
|
, pytz
|
|
, traitlets
|
|
, widgetsnbextension
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipywidgets";
|
|
version = "8.1.2";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-0Lm0Hkm66SaoZuYTo5sPAJd0XSufHz3UBmQbSlfsQsk=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
wheel
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
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;
|
|
maintainers = with lib.maintainers; [ fridh ];
|
|
};
|
|
}
|