mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
43 lines
751 B
Nix
43 lines
751 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, ipykernel
|
|
, ipython
|
|
, jupyterlab-widgets
|
|
, lib
|
|
, nbformat
|
|
, pytestCheckHook
|
|
, pytz
|
|
, traitlets
|
|
, widgetsnbextension
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ipywidgets";
|
|
version = "8.0.6";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-3n13nyBF1g3p9sJfZT/a4tuleJjmoShElLO6ILaJO7g=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|