2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-06-15 08:00:00 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "reviewdog";
|
2021-08-22 13:13:50 +01:00
|
|
|
version = "0.13.0";
|
2019-06-15 08:00:00 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-08-22 13:13:50 +01:00
|
|
|
sha256 = "sha256-PneUN59ddYvhVIXqZeDCh0tWADkRTU9Dj0HNf0V8s3g=";
|
2019-06-15 08:00:00 +01:00
|
|
|
};
|
|
|
|
|
2021-08-22 13:13:50 +01:00
|
|
|
vendorSha256 = "sha256-NI5pzKfUTjXqDukeQ1wFN/D0TBeXfDPGL69oEL7reCE=";
|
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" ];
|
|
|
|
|
2021-08-26 07:45:51 +01:00
|
|
|
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";
|
2021-07-14 14:56:26 +01:00
|
|
|
changelog = "https://github.com/reviewdog/reviewdog/raw/v${version}/CHANGELOG.md";
|
2019-06-15 08:00:00 +01:00
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|