From fffbc7ac554794a8f68377dd3177ab1302819382 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Wed, 24 Mar 2021 12:06:34 -0700 Subject: [PATCH] python3Packages.jupyterlab-widgets: init at 1.0.0 --- .../jupyterlab-widgets/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/jupyterlab-widgets/default.nix diff --git a/pkgs/development/python-modules/jupyterlab-widgets/default.nix b/pkgs/development/python-modules/jupyterlab-widgets/default.nix new file mode 100644 index 000000000000..c4589ce1b933 --- /dev/null +++ b/pkgs/development/python-modules/jupyterlab-widgets/default.nix @@ -0,0 +1,30 @@ +{ lib, buildPythonPackage, fetchPypi +, jupyter-packaging +}: + +buildPythonPackage rec { + pname = "jupyterlab-widgets"; + version = "1.0.0"; + + src = fetchPypi { + pname = "jupyterlab_widgets"; + inherit version; + sha256 = "0y7vhhas3qndiypcpcfnhrj9n92v2w4hdc86nn620s9h9nl2j6jw"; + }; + + nativeBuildInputs = [ + jupyter-packaging + ]; + + # has no tests + doCheck = false; + + pythonImportsCheck = [ "jupyterlab_widgets" ]; + + meta = with lib; { + description = "Jupyter Widgets JupyterLab Extension"; + homepage = "https://github.com/jupyter-widgets/ipywidgets"; + license = licenses.bsd3; + maintainers = with maintainers; [ jonringer SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 42e8892e2c97..19f0c25fbd29 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3414,6 +3414,8 @@ in { jupyterlab_server = callPackage ../development/python-modules/jupyterlab_server { }; + jupyterlab-widgets = callPackage ../development/python-modules/jupyterlab-widgets { }; + jupyter-packaging = callPackage ../development/python-modules/jupyter-packaging { }; jupyter-repo2docker = callPackage ../development/python-modules/jupyter-repo2docker {