blob: 11a611c3e84f4d3b666fbd4e8e182b10e1b10a88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{
lib,
fetchFromGitHub,
rustPlatform,
clippy,
}:
rustPlatform.buildRustPackage rec {
pname = "clippy-sarif";
version = "0.4.1";
src = lib.cleanSource (fetchFromGitHub {
owner = "psastras";
repo = "sarif-rs";
rev = "${pname}-v${version}";
hash = "sha256-TnH2GQ8uComMgeUk7i63KA3hbWC/5KuLxoRXlR8qlVs=";
});
cargoSha256 = "sha256-Y0n0GfUguqdTdZO6SyWNysv3IlXiKqhSiiHxxUEUZo8=";
cargoBuildFlags = ["--package ${pname}"];
doCheck = false;
meta = with lib; {
description = "CLI tool to convert clippy diagnostics into SARIF";
homepage = "https://github.com/psastras/sarif-rs";
maintainers = with maintainers; [getchoo];
license = licenses.mit;
inherit (clippy.meta) platforms;
};
}
|