5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
30 lines
867 B
Nix
30 lines
867 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "reviewdog";
|
|
version = "0.17.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-G2mN7f5dpE6fF5ti7JJXVk8qBiwKO/yy5cyOYBxDJNo=";
|
|
};
|
|
|
|
vendorHash = "sha256-ux3nrQtY1sY4VJIeTSZAipfURspWDqnZ9YfxmFUvElI=";
|
|
|
|
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 = [ ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|