2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-15 08:00:00 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "reviewdog";
|
2020-08-05 04:38:40 +01:00
|
|
|
version = "0.10.2";
|
2019-06-15 08:00:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-08-05 04:38:40 +01:00
|
|
|
sha256 = "1xi5dfdy66qa6xvy60fk2lmp9gxyi0nfkyvybcazn8mrd99hfh6l";
|
2019-06-15 08:00:00 +01:00
|
|
|
};
|
|
|
|
|
2020-06-29 19:20:00 +01:00
|
|
|
vendorSha256 = "0cxi01jxg89lsk91dv782746i8g9ksanx8igmgafq9vq25lld7yg";
|
2019-06-15 08:00:00 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2019-06-15 08:00:00 +01: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 08:00:00 +01:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-06-15 08:00:00 +01:00
|
|
|
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 08:00:00 +01:00
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|