geoipupdate: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:16:00 -05:00
parent e0ce72f901
commit dbb3f260ca
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 = "geoipupdate";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "1bypanvrkcqp8rk84cv2569671irgaf3cy27lcrknyina4pdvir5";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
description = "Automatic GeoIP database updater";
homepage = "https://github.com/maxmind/geoipupdate";

View File

@ -19326,7 +19326,9 @@ in
geany = callPackage ../applications/editors/geany { };
geany-with-vte = callPackage ../applications/editors/geany/with-vte.nix { };
geoipupdate = callPackage ../applications/misc/geoipupdate/default.nix { };
geoipupdate = callPackage ../applications/misc/geoipupdate/default.nix {
inherit (darwin.apple_sdk.frameworks) Security;
};
ghostwriter = libsForQt5.callPackage ../applications/editors/ghostwriter { };