mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
reviewdog: init at 0.9.12
This commit is contained in:
parent
8c14a6f641
commit
2c042a3c2e
26
pkgs/development/tools/misc/reviewdog/default.nix
Normal file
26
pkgs/development/tools/misc/reviewdog/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "reviewdog";
|
||||
version = "0.9.12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0r7y8nbpwfbvinpapv6lgnlc93kwn4b6722cp5ihyf361fklcd02";
|
||||
};
|
||||
|
||||
modSha256 = "1ydfirjhw238zbia5mk90fx9rrg3kvm2h54zjhiimlvnpls5y8c9";
|
||||
|
||||
subPackages = [ "cmd/reviewdog" ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-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";
|
||||
maintainers = [ maintainers.marsam ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -9588,6 +9588,8 @@ in
|
||||
withPEPatterns = true;
|
||||
};
|
||||
|
||||
reviewdog = callPackage ../development/tools/misc/reviewdog { };
|
||||
|
||||
rman = callPackage ../development/tools/misc/rman { };
|
||||
|
||||
rolespec = callPackage ../development/tools/misc/rolespec { };
|
||||
|
Loading…
Reference in New Issue
Block a user