reviewdog: fix build on darwin
This commit is contained in:
parent
d7d95111bd
commit
5ba0036271
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "reviewdog";
|
pname = "reviewdog";
|
||||||
@ -13,11 +13,13 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "1jf08g0xr4wknh9x15igq73y02cy2faqjdjs2v842ii4p3n4p9dw";
|
modSha256 = "1jf08g0xr4wknh9x15igq73y02cy2faqjdjs2v842ii4p3n4p9dw";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
subPackages = [ "cmd/reviewdog" ];
|
subPackages = [ "cmd/reviewdog" ];
|
||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X github.com/reviewdog/reviewdog/commands.Version=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X github.com/reviewdog/reviewdog/commands.Version=${version}" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Automated code review tool integrated with any code analysis tools regardless of programming language";
|
description = "Automated code review tool integrated with any code analysis tools regardless of programming language";
|
||||||
homepage = "https://github.com/reviewdog/reviewdog";
|
homepage = "https://github.com/reviewdog/reviewdog";
|
||||||
changelog = "https://github.com/reviewdog/reviewdog/releases/tag/v${version}";
|
changelog = "https://github.com/reviewdog/reviewdog/releases/tag/v${version}";
|
||||||
|
@ -10795,7 +10795,9 @@ in
|
|||||||
withPEPatterns = true;
|
withPEPatterns = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
reviewdog = callPackage ../development/tools/misc/reviewdog { };
|
reviewdog = callPackage ../development/tools/misc/reviewdog {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
rman = callPackage ../development/tools/misc/rman { };
|
rman = callPackage ../development/tools/misc/rman { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user