matterbridge: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:43:00 -05:00
parent 6e973c66a0
commit 1bd77eb9b0
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchurl }:
{ stdenv, buildGoModule, fetchurl, Security }:
buildGoModule rec {
pname = "matterbridge";
@ -12,6 +12,8 @@ buildGoModule rec {
sha256 = "15wgjzy9l3xlgih2zb56l4jmval4nhcs42wn9axvz2h7kqfbmw3d";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Simple bridge between Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, Rocket.Chat, Hipchat(via xmpp), Matrix and Steam";
homepage = "https://github.com/42wim/matterbridge";

View File

@ -15622,7 +15622,9 @@ in
mattermost = callPackage ../servers/mattermost { };
matterircd = callPackage ../servers/mattermost/matterircd.nix { };
matterbridge = callPackage ../servers/matterbridge { };
matterbridge = callPackage ../servers/matterbridge {
inherit (darwin.apple_sdk.frameworks) Security;
};
mattermost-desktop = callPackage ../applications/networking/instant-messengers/mattermost-desktop { };