blob: 8339c0625100989c34042527aebce24450f46866 (
plain) (
blame)
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, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "reviewdog";
version = "0.17.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
hash = "sha256-NjVw+GU27ARqytpupJETAGGh0DfyuFsP637Mv+P4+zs=";
};
vendorHash = "sha256-HZpRHFmEaE+MBvKJ8f5IEMmg2eIIrVGxM/jxhIgEqi0=";
doCheck = false;
subPackages = [ "cmd/reviewdog" ];
ldflags = [ "-s" "-w" "-X github.com/reviewdog/reviewdog/commands.Version=${version}" ];
meta = with lib; {
description = "Automated code review tool integrated with any code analysis tools regardless of programming language";
mainProgram = "reviewdog";
homepage = "https://github.com/reviewdog/reviewdog";
changelog = "https://github.com/reviewdog/reviewdog/blob/v${version}/CHANGELOG.md";
maintainers = [ maintainers.marsam ];
license = licenses.mit;
};
}
|