3
0
Fork 0
forked from mirrors/nixpkgs

mautrix-whatsapp: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:41:00 -05:00
parent d6950431b7
commit b85ea94504
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule {
pname = "mautrix-whatsapp-unstable";
@ -13,6 +13,8 @@ buildGoModule {
modSha256 = "0ypj79rjwj5bls6aq2cz0d034dnv1sddl43iz51b4fl2bfv0drm9";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = https://github.com/tulir/mautrix-whatsapp;
description = "Matrix <-> Whatsapp hybrid puppeting/relaybot bridge";

View file

@ -4691,7 +4691,9 @@ in
mautrix-telegram = recurseIntoAttrs (callPackage ../servers/mautrix-telegram { });
mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { };
mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp {
inherit (darwin.apple_sdk.frameworks) Security;
};
mcfly = callPackage ../tools/misc/mcfly {
inherit (darwin.apple_sdk.frameworks) Security;