jj-vine: add version check and update script

This commit is contained in:
Winter M
2026-05-08 11:30:21 -04:00
parent 64abd2446d
commit bc32a59ab0

View File

@@ -6,6 +6,8 @@
git,
writableTmpDirAsHomeHook,
cacert,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -29,6 +31,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
checkFeatures = [ "no-e2e-tests" ];
env.SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Tool for submitting stacked Pull/Merge Requests from Jujutsu bookmarks";
homepage = "https://codeberg.org/abrenneke/jj-vine";