3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/geoipupdate/default.nix

25 lines
614 B
Nix
Raw Normal View History

{ 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
};
vendorSha256 = "0q4byhvs1c1xm4qjvs2vyf98vdv121qn0z51arcf7k4ayrys5xcx";
2019-11-17 18:56:39 +00: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 ];
};
}