nixpkgs/pkgs/by-name/cl/clang-tidy-sarif/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
780 B
Nix
Raw Normal View History

2023-11-10 02:34:11 +00:00
{
lib,
fetchCrate,
2023-11-10 02:34:11 +00:00
rustPlatform,
clang-tidy-sarif,
2024-07-15 18:18:35 +00:00
nix-update-script,
2023-11-10 02:34:11 +00:00
testers,
}:
rustPlatform.buildRustPackage rec {
pname = "clang-tidy-sarif";
version = "0.5.0";
2023-11-10 02:34:11 +00:00
src = fetchCrate {
inherit pname version;
hash = "sha256-lxZtuE6hvmeX2CCO8UeGDORnCV5N7ZNiVZR+9LOCrdk=";
2023-11-10 02:34:11 +00:00
};
cargoHash = "sha256-R0IyXinUhIVqGal2Vt0EdU0EFyzs3KIbp/UIseWlj1Y=";
2023-11-10 02:34:11 +00:00
passthru = {
tests.version = testers.testVersion { package = clang-tidy-sarif; };
2024-07-15 18:18:35 +00:00
updateScript = nix-update-script { };
2023-11-10 02:34:11 +00:00
};
meta = {
description = "A CLI tool to convert clang-tidy diagnostics into SARIF";
homepage = "https://psastras.github.io/sarif-rs";
maintainers = with lib.maintainers; [ getchoo ];
2024-07-15 18:18:35 +00:00
mainProgram = "clang-tidy-sarif";
2023-11-10 02:34:11 +00:00
license = lib.licenses.mit;
};
}