jj-pre-push: init at 0.2.1 (#445471)

This commit is contained in:
xanderio
2025-09-24 14:54:23 +00:00
committed by GitHub

View File

@@ -0,0 +1,38 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "jj-pre-push";
version = "0.2.1";
pyproject = true;
src = fetchFromGitHub {
owner = "acarapetis";
repo = "jj-pre-push";
tag = "v${version}";
hash = "sha256-9HyVWxYmemF/K3ttQ0L1lZF/XFkSeqwli/Mm+FFI8lQ=";
};
build-system = [
python3Packages.uv-build
];
dependencies = with python3Packages; [
typer-slim
];
pythonImportsCheck = [
"jj_pre_push"
];
meta = {
description = "Run pre-commit.com before `jj git push`";
homepage = "https://github.com/acarapetis/jj-pre-push";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ xanderio ];
mainProgram = "jj-pre-push";
};
}