2019-11-17 18:56:39 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "geoipupdate";
|
2020-03-14 05:41:16 +00:00
|
|
|
version = "4.2.2";
|
2019-11-17 18:56:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxmind";
|
|
|
|
repo = "geoipupdate";
|
|
|
|
rev = "v${version}";
|
2020-03-14 05:41:16 +00:00
|
|
|
sha256 = "057f9kp8g3wixjh9dm58g0qvzfcmhwbk1d573ldly4g5404r9bvf";
|
2019-11-17 18:56:39 +00:00
|
|
|
};
|
|
|
|
|
2020-03-14 05:41:16 +00:00
|
|
|
modSha256 = "1bypanvrkcqp8rk84cv2569671irgaf3cy27lcrknyina4pdvir5";
|
2019-11-17 18:56:39 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Automatic GeoIP database updater";
|
|
|
|
homepage = "https://github.com/maxmind/geoipupdate";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ das_j ];
|
|
|
|
};
|
|
|
|
}
|