f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
33 lines
773 B
Nix
33 lines
773 B
Nix
{
|
|
lib,
|
|
fetchCrate,
|
|
rustPlatform,
|
|
nix-update-script,
|
|
versionCheckHook,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "clang-tidy-sarif";
|
|
version = "0.5.0";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-lxZtuE6hvmeX2CCO8UeGDORnCV5N7ZNiVZR+9LOCrdk=";
|
|
};
|
|
|
|
cargoHash = "sha256-R0IyXinUhIVqGal2Vt0EdU0EFyzs3KIbp/UIseWlj1Y=";
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
doInstallCheck = true;
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "A CLI tool to convert clang-tidy diagnostics into SARIF";
|
|
homepage = "https://psastras.github.io/sarif-rs";
|
|
maintainers = with lib.maintainers; [ getchoo ];
|
|
mainProgram = "clang-tidy-sarif";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|