mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
jj-vine: add version check and update script
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user