nixpkgs/pkgs/applications/misc/geoipupdate/default.nix

25 lines
602 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-11-17 18:56:39 +00:00
buildGoModule rec {
pname = "geoipupdate";
2021-04-22 10:05:38 +00:00
version = "4.7.1";
2019-11-17 18:56:39 +00:00
src = fetchFromGitHub {
owner = "maxmind";
repo = "geoipupdate";
rev = "v${version}";
2021-04-22 10:05:38 +00:00
sha256 = "sha256-nshQxr6y3TxKsAVSA9mzL7LJfCtpv0QuuTTqk3/lENc=";
2019-11-17 18:56:39 +00:00
};
2021-04-22 10:05:38 +00:00
vendorSha256 = "sha256-fqQWFhFeyW4GntRBxEeN6WSOo0G+1hH9vSEZmBKglz8=";
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 ];
};
}