2020-03-27 07:33:21 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2019-11-17 18:56:39 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "geoipupdate";
|
2020-05-19 07:26:16 +01:00
|
|
|
version = "4.3.0";
|
2019-11-17 18:56:39 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maxmind";
|
|
|
|
repo = "geoipupdate";
|
|
|
|
rev = "v${version}";
|
2020-05-19 07:26:16 +01:00
|
|
|
sha256 = "08h14bf4z2gx9sy34jpi2pvxv3i8g9ypl222hzdjsp2ixhl0jia9";
|
2019-11-17 18:56:39 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = "0q4byhvs1c1xm4qjvs2vyf98vdv121qn0z51arcf7k4ayrys5xcx";
|
2019-11-17 18:56:39 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
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 ];
|
|
|
|
maintainers = with maintainers; [ das_j ];
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|