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
@@ -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";