shellcheck-sarif: add updateScript
This commit is contained in:
parent
e52dcd90a4
commit
0734b8fa1c
@ -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";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user