depot/third_party/nixpkgs/pkgs/development/tools/misc/reviewdog/default.nix
Default email 0fe1cd7bea Project import generated by Copybara.
GitOrigin-RevId: c6c4a3d45ab200f17805d2d86a1ff1cc7ca2b186
2021-07-16 21:40:57 +02:00

29 lines
873 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "reviewdog";
version = "0.12.0";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "18fk4xzl6ys3azyw9ap14zgf3av5fdsrdn4mxx9calimvzbl4nfp";
};
vendorSha256 = "1qcp8v426500cpfrchazsh5rw4nr0c31vmrhbfgb9js4vxrn8acr";
doCheck = false;
subPackages = [ "cmd/reviewdog" ];
buildFlagsArray = [ "-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";
homepage = "https://github.com/reviewdog/reviewdog";
changelog = "https://github.com/reviewdog/reviewdog/raw/v${version}/CHANGELOG.md";
maintainers = [ maintainers.marsam ];
license = licenses.mit;
};
}