forked from mirrors/nixpkgs
mautrix-whatsapp: fix build on darwin
This commit is contained in:
parent
d6950431b7
commit
b85ea94504
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue