mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
28 lines
849 B
Nix
28 lines
849 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "reviewdog";
|
|
version = "0.10.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1xi5dfdy66qa6xvy60fk2lmp9gxyi0nfkyvybcazn8mrd99hfh6l";
|
|
};
|
|
|
|
vendorSha256 = "0cxi01jxg89lsk91dv782746i8g9ksanx8igmgafq9vq25lld7yg";
|
|
|
|
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/releases/tag/v${version}";
|
|
maintainers = [ maintainers.marsam ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|