gomuks: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:17:00 -05:00
parent dbb3f260ca
commit 7faf44250d
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "gomuks";
@ -15,6 +15,8 @@ buildGoModule rec {
modSha256 = "03vbrh50pvx71rp6c23qc2sh0ir4jm1wl0gvi3z1c14ndzhsqky4";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
homepage = "https://maunium.net/go/gomuks/";
description = "A terminal based Matrix client written in Go";

View File

@ -19367,7 +19367,9 @@ in
inherit (darwin) libiconv;
};
gomuks = callPackage ../applications/networking/instant-messengers/gomuks { };
gomuks = callPackage ../applications/networking/instant-messengers/gomuks {
inherit (darwin.apple_sdk.frameworks) Security;
};
inherit (ocamlPackages) google-drive-ocamlfuse;