clippy-sarif: add updateScript

This commit is contained in:
seth
2024-07-15 14:15:39 -04:00
parent 799eff71f6
commit 22ccac6ba7
+3 -1
View File
@@ -4,6 +4,7 @@
rustPlatform,
clippy,
clippy-sarif,
nix-update-script,
testers,
}:
rustPlatform.buildRustPackage rec {
@@ -19,14 +20,15 @@ rustPlatform.buildRustPackage rec {
passthru = {
tests.version = testers.testVersion { package = clippy-sarif; };
updateScript = nix-update-script { };
};
meta = {
description = "A CLI tool to convert clippy diagnostics into SARIF";
mainProgram = "clippy-sarif";
homepage = "https://psastras.github.io/sarif-rs";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "clippy-sarif";
inherit (clippy.meta) platforms;
};
}