protoc-gen-doc: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:51:00 -05:00
parent dba5b006e2
commit ce9ac41017
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib }: { buildGoModule, fetchFromGitHub, stdenv, Security }:
buildGoModule { buildGoModule {
pname = "protoc-gen-doc-unstable"; pname = "protoc-gen-doc-unstable";
@ -13,7 +13,9 @@ buildGoModule {
modSha256 = "1952ycdkgl00q2s3qmhislhhim15nn6nmlkwbfdvrsfzznqj47rd"; modSha256 = "1952ycdkgl00q2s3qmhislhhim15nn6nmlkwbfdvrsfzznqj47rd";
meta = with lib; { buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Documentation generator plugin for Google Protocol Buffers"; description = "Documentation generator plugin for Google Protocol Buffers";
longDescription = '' longDescription = ''
This is a documentation generator plugin for the Google Protocol Buffers This is a documentation generator plugin for the Google Protocol Buffers

View File

@ -181,7 +181,9 @@ in
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {}; protoc-gen-doc = callPackage ../development/tools/protoc-gen-doc {
inherit (darwin.apple_sdk.frameworks) Security;
};
demoit = callPackage ../servers/demoit { }; demoit = callPackage ../servers/demoit { };