shellcheck-sarif: add updateScript

This commit is contained in:
seth 2024-07-15 14:23:56 -04:00
parent e52dcd90a4
commit 0734b8fa1c
No known key found for this signature in database
GPG Key ID: D31BD0D494BBEE86

View File

@ -2,6 +2,7 @@
lib,
fetchCrate,
rustPlatform,
nix-update-script,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
@ -18,11 +19,15 @@ rustPlatform.buildRustPackage rec {
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "CLI tool to convert shellcheck diagnostics into SARIF";
homepage = "https://psastras.github.io/sarif-rs";
mainProgram = "shellcheck-sarif";
maintainers = with lib.maintainers; [ getchoo ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "shellcheck-sarif";
};
}