2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-17 19:56:39 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "geoipupdate";
|
2021-07-21 14:25:56 +02:00
|
|
|
version = "4.8.0";
|
2019-11-17 19:56:39 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxmind";
|
|
|
|
repo = "geoipupdate";
|
|
|
|
rev = "v${version}";
|
2021-07-21 14:25:56 +02:00
|
|
|
sha256 = "sha256-fcz1g17JR6jOpq5zOpCmnI00hyXSYYGHfoFRE8/c8dk=";
|
2019-11-17 19:56:39 +01:00
|
|
|
};
|
|
|
|
|
2021-07-21 14:25:56 +02:00
|
|
|
vendorSha256 = "sha256-YawWlPZV4bBOsOFDo2nIXKWwcxb5hWy5OiB99MG0HcY=";
|
2019-11-17 19:56:39 +01:00
|
|
|
|
2020-08-04 02:26:27 +02:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-11-17 19:56:39 +01:00
|
|
|
description = "Automatic GeoIP database updater";
|
|
|
|
homepage = "https://github.com/maxmind/geoipupdate";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ das_j ];
|
|
|
|
};
|
2020-07-31 05:58:04 +02:00
|
|
|
}
|