From 6930f049f75945b316f9d2dfaed9cbe1cc14d162 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 25 Aug 2026 17:01:53 +0200 Subject: [PATCH] python3Packages.jupyterlab-widgets: add missing build component --- .../python-modules/jupyterlab-widgets/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/jupyterlab-widgets/default.nix b/pkgs/development/python-modules/jupyterlab-widgets/default.nix index c569773f5a7c..932af0ae4278 100644 --- a/pkgs/development/python-modules/jupyterlab-widgets/default.nix +++ b/pkgs/development/python-modules/jupyterlab-widgets/default.nix @@ -2,18 +2,19 @@ lib, buildPythonPackage, fetchPypi, - hatchling, hatch-jupyter-builder, + hatchling, + jupyter-builder, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "jupyterlab-widgets"; version = "3.0.17"; pyproject = true; src = fetchPypi { pname = "jupyterlab_widgets"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-bmH+IcqKZgORgKXMUqQz4HJ50v7nnIvpY+ANVRk/F6g="; }; @@ -24,8 +25,9 @@ buildPythonPackage rec { ''; build-system = [ - hatchling hatch-jupyter-builder + hatchling + jupyter-builder ]; # has no tests @@ -36,7 +38,8 @@ buildPythonPackage rec { meta = { description = "Jupyter Widgets JupyterLab Extension"; homepage = "https://github.com/jupyter-widgets/ipywidgets"; + changelog = "https://github.com/jupyter-widgets/ipywidgets/releases/tag/${finalAttrs.version}"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +})