Files
Gerhard Schwanzer 817cd8bf46 python3Packages.jupyterlab-git: 0.52.0 -> 0.54.0
Adapt to upstream's split package layout and depend on jupyterlab-git-core.
The release fixes CVE-2026-54527 and CVE-2026-54528.

https://redirect.github.com/jupyterlab/jupyterlab-git/blob/v0.54.0/CHANGELOG.md#0540

Assisted-by: pi coding agent / Mika (OpenAI gpt-5.6-sol)
2026-07-30 20:34:31 +02:00

62 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
gitMinimal,
writableTmpDirAsHomeHook,
hatch-nodejs-version,
hatchling,
jupyterlab-git-core,
jupyter-server,
jupytext,
nbdime,
pytest-asyncio,
pytest-jupyter,
pytest-tornasync,
pytestCheckHook,
traitlets,
}:
buildPythonPackage rec {
pname = "jupyterlab-git";
inherit (jupyterlab-git-core) src version;
pyproject = true;
preBuild = ''
cd packages/jupyterlab
'';
build-system = [
hatch-nodejs-version
hatchling
];
dependencies = [
jupyterlab-git-core
jupyter-server
nbdime
traitlets
];
nativeCheckInputs = [
gitMinimal
jupytext
pytest-asyncio
pytest-jupyter
pytest-tornasync
pytestCheckHook
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "jupyterlab_git" ];
__darwinAllowLocalNetworking = true;
meta = {
description = "Jupyter lab extension for version control with Git";
homepage = "https://github.com/jupyterlab/jupyterlab-git";
changelog = "https://github.com/jupyterlab/jupyterlab-git/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ chiroptical ];
};
}