diff options
Diffstat (limited to 'pkgs/applications/misc/geoipupdate/default.nix')
-rw-r--r-- | pkgs/applications/misc/geoipupdate/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/misc/geoipupdate/default.nix b/pkgs/applications/misc/geoipupdate/default.nix new file mode 100644 index 00000000000..57060179473 --- /dev/null +++ b/pkgs/applications/misc/geoipupdate/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "geoipupdate"; + version = "4.1.5"; + + src = fetchFromGitHub { + owner = "maxmind"; + repo = "geoipupdate"; + rev = "v${version}"; + sha256 = "1k0bmsqgw35sdmaafinlr4qd5910fi598i8irxrz11394d3c8giv"; + }; + + modSha256 = "0mk6zp6byq3jc6wipx53bg5igry114klq5w8isc0z6r63zjsk6f6"; + + meta = with stdenv.lib; { + description = "Automatic GeoIP database updater"; + homepage = "https://github.com/maxmind/geoipupdate"; + license = with licenses; [ asl20 ]; + platforms = platforms.all; + maintainers = with maintainers; [ das_j ]; + }; +} |