{ lib, buildPythonPackage, fetchFromGitHub, # build-system hatchling, hatch-nodejs-version, # dependencies traitlets, jupyter-core, tomli, # tests copier, pytestCheckHook, versionCheckHook, }: buildPythonPackage (finalAttrs: { pname = "jupyter-builder"; version = "1.2.2"; pyproject = true; __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyterlab"; repo = "jupyter-builder"; tag = "v${finalAttrs.version}"; hash = "sha256-G6Do2g/WNULgLQo18v9FgVIbug4ls/KXNrMl8+gvD9s="; }; build-system = [ hatchling hatch-nodejs-version ]; dependencies = [ traitlets jupyter-core tomli ]; nativeCheckInputs = [ copier pytestCheckHook versionCheckHook ]; disabledTestPaths = [ # Require internet access "tests/test_tpl.py" ]; meta = { description = "Build tools for JupyterLab"; homepage = "https://github.com/jupyterlab/jupyter-builder"; changelog = "https://github.com/jupyterlab/jupyter-builder/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; teams = [ lib.teams.jupyter ]; mainProgram = "jupyter-builder"; }; })