nixpkgs/pkgs/development/tools/misc/reviewdog/default.nix

30 lines
869 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-06-15 08:00:00 +01:00
buildGoModule rec {
pname = "reviewdog";
2020-10-25 04:20:00 +00:00
version = "0.11.0";
2019-06-15 08:00:00 +01:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
2020-10-25 04:20:00 +00:00
sha256 = "0n7hk3va25ym8sb900i1s1hjszgwrfl7gfsjbj1m330fidh3q6jc";
2019-06-15 08:00:00 +01:00
};
2020-10-25 04:20:00 +00:00
vendorSha256 = "0xscirzi0gqww33ngwh29jiylarj0w5snn9kvv43wfrphb6c79s5";
2019-06-15 08:00:00 +01:00
doCheck = false;
2019-06-15 08:00:00 +01:00
subPackages = [ "cmd/reviewdog" ];
buildFlagsArray = [ "-ldflags=-s -w -X github.com/reviewdog/reviewdog/commands.Version=${version}" ];
2019-06-15 08:00:00 +01: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;
};
}