Files
nixpkgs/pkgs/development/python-modules/jupyterlab-git/default.nix
T
Martin Weinelt 7abf425a84 python3Packages.jupyterlab-git: 0.51.2 -> 0.51.4
https://github.com/jupyterlab/jupyterlab-git/blob/v0.51.4/CHANGELOG.md

This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:23 +01:00

96 lines
1.8 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
git,
gitMinimal,
nodejs,
writableTmpDirAsHomeHook,
yarn-berry_3,
jupyter-server,
hatch-jupyter-builder,
hatch-nodejs-version,
hatchling,
jupyterlab,
nbdime,
nbformat,
packaging,
pexpect,
pytest-asyncio,
pytest-jupyter,
pytest-tornasync,
pytestCheckHook,
traitlets,
}:
buildPythonPackage rec {
pname = "jupyterlab-git";
version = "0.51.4";
pyproject = true;
src = fetchFromGitHub {
owner = "jupyterlab";
repo = "jupyterlab-git";
tag = "v${version}";
hash = "sha256-8/XspIMT2x/buBKbUTknpyh0VGionozavjgi67gg1/k=";
};
nativeBuildInputs = [
nodejs
yarn-berry_3.yarnBerryConfigHook
];
offlineCache = yarn-berry_3.fetchYarnBerryDeps {
inherit src;
hash = "sha256-9GmQv4UYH+uRPgAZed6IJC+7uMKhlXvokVwd248yi/4=";
};
build-system = [
hatch-jupyter-builder
hatch-nodejs-version
hatchling
jupyterlab
];
dependencies = [
jupyter-server
nbdime
nbformat
packaging
pexpect
traitlets
];
propagatedBuildInputs = [ git ];
nativeCheckInputs = [
gitMinimal
pytest-asyncio
pytest-jupyter
pytest-tornasync
pytestCheckHook
writableTmpDirAsHomeHook
];
disabledTestPaths = [
"jupyterlab_git/tests/test_handlers.py"
];
disabledTests = [
"test_Git_get_nbdiff_file"
"test_Git_get_nbdiff_dict"
];
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 = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ chiroptical ];
};
}