geoipupdate: fix build on darwin
This commit is contained in:
parent
e0ce72f901
commit
dbb3f260ca
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "geoipupdate";
|
pname = "geoipupdate";
|
||||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
modSha256 = "1bypanvrkcqp8rk84cv2569671irgaf3cy27lcrknyina4pdvir5";
|
modSha256 = "1bypanvrkcqp8rk84cv2569671irgaf3cy27lcrknyina4pdvir5";
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Automatic GeoIP database updater";
|
description = "Automatic GeoIP database updater";
|
||||||
homepage = "https://github.com/maxmind/geoipupdate";
|
homepage = "https://github.com/maxmind/geoipupdate";
|
||||||
|
@ -19326,7 +19326,9 @@ in
|
|||||||
geany = callPackage ../applications/editors/geany { };
|
geany = callPackage ../applications/editors/geany { };
|
||||||
geany-with-vte = callPackage ../applications/editors/geany/with-vte.nix { };
|
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 { };
|
ghostwriter = libsForQt5.callPackage ../applications/editors/ghostwriter { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user