grpcui: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:06:00 -05:00
parent 26f5b0ed8f
commit a8c36060b7
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ buildGoModule, fetchFromGitHub, lib }:
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
buildGoModule rec {
pname = "grpcui";
@ -13,7 +13,9 @@ buildGoModule rec {
modSha256 = "1yq8484cjxad72nqsrim3zppr8hmn7dc6f8rgkw8fg952lqy5jjb";
meta = with lib; {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "An interactive web UI for gRPC, along the lines of postman";
homepage = "https://github.com/fullstorydev/grpcui";
license = licenses.mit;

View File

@ -3920,6 +3920,7 @@ in
grpcui = callPackage ../tools/networking/grpcui {
buildGoModule = buildGo112Module;
inherit (darwin.apple_sdk.frameworks) Security;
};
grub = pkgsi686Linux.callPackage ../tools/misc/grub ({