2019-06-15 07:00:00 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "reviewdog";
|
2020-01-08 09:20:00 +00:00
|
|
|
version = "0.9.15";
|
2019-06-15 07:00:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-01-08 09:20:00 +00:00
|
|
|
sha256 = "05dh70967264lc3srwajnxxfdgsgybc9i7j2jqbqzin6dmxbnrc0";
|
2019-06-15 07:00:00 +00:00
|
|
|
};
|
|
|
|
|
2020-01-08 09:20:00 +00:00
|
|
|
modSha256 = "09ifp0iqd8jlz01mhxaz7adrcc699vim6pwxgf83pmqdw92jz034";
|
2019-06-15 07:00:00 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/reviewdog" ];
|
|
|
|
|
2019-12-01 18:20:00 +00:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/reviewdog/reviewdog/commands.Version=${version}" ];
|
2019-06-15 07:00:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Automated code review tool integrated with any code analysis tools regardless of programming language";
|
|
|
|
homepage = "https://github.com/reviewdog/reviewdog";
|
2020-01-08 09:20:00 +00:00
|
|
|
changelog = "https://github.com/reviewdog/reviewdog/releases/tag/v${version}";
|
2019-06-15 07:00:00 +00:00
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|