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

25 lines
604 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-11-17 18:56:39 +00:00
buildGoModule rec {
pname = "geoipupdate";
2020-12-20 16:38:34 +00:00
version = "4.6.0";
2019-11-17 18:56:39 +00:00
src = fetchFromGitHub {
owner = "maxmind";
repo = "geoipupdate";
rev = "v${version}";
2020-12-20 16:38:34 +00:00
sha256 = "1rzc8kidm8nr9pbcbq96kax3cbf39afrk5vzpl04lzpw3jbbakjq";
2019-11-17 18:56:39 +00:00
};
2020-10-29 16:01:39 +00:00
vendorSha256 = "1f858k8cl0dgiw124jv0p9jhi9aqxnc3nmc7hksw70fla2nzjrv0";
2019-11-17 18:56:39 +00:00
doCheck = false;
meta = with lib; {
2019-11-17 18:56:39 +00:00
description = "Automatic GeoIP database updater";
homepage = "https://github.com/maxmind/geoipupdate";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ das_j ];
};
}