Files
Gaetan Lepage 530bca2347 python3Packages.jupyter-builder: init at 1.2.2
Co-authored-by: Stefan Haan <stefan@kikeriki.at>
2026-08-16 14:17:01 +00:00

65 lines
1.2 KiB
Nix

{
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";
};
})