nixpkgs/pkgs/by-name/ge/geoipupdate/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
683 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-11-17 18:56:39 +00:00
buildGoModule rec {
pname = "geoipupdate";
2024-11-19 02:11:09 +00:00
version = "7.1.0";
2019-11-17 18:56:39 +00:00
src = fetchFromGitHub {
owner = "maxmind";
repo = "geoipupdate";
rev = "v${version}";
2024-11-19 02:11:09 +00:00
sha256 = "sha256-XfQ5W2JbPBIAh5iF4jj9UJ4eLhhRHRwFPs0VWrBQVNA=";
2019-11-17 18:56:39 +00:00
};
2024-11-19 02:11:09 +00:00
vendorHash = "sha256-XQTZITuG9HjHnpYsSdwNLbdeDhH48+1kLCK32DMkppo=";
2019-11-17 18:56:39 +00:00
2022-02-25 09:42:43 +00:00
ldflags = [ "-X main.version=${version}" ];
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 = teams.helsinki-systems.members;
2024-02-11 02:19:15 +00:00
mainProgram = "geoipupdate";
2019-11-17 18:56:39 +00:00
};
}