10 withGeolocation ? true,
13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
20 rev = "refs/tags/v${version}";
21 hash = "sha256-ZOngDAHA88YQvkx2pk5ZSpBzxqelvCIR4z5hiFmfGyc=";
24 nativeBuildInputs = [ autoreconfHook ];
31 ++ lib.optionals withGeolocation [ libmaxminddb ]
32 ++ lib.optionals stdenv.hostPlatform.isDarwin [ gettext ];
37 ] ++ lib.optionals withGeolocation [ "--enable-geoip=mmdb" ];
40 description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems";
41 homepage = "https://goaccess.io";
42 changelog = "https://github.com/allinurl/goaccess/raw/v${version}/ChangeLog";
43 license = licenses.mit;
44 maintainers = with maintainers; [ ederoyd46 ];
45 platforms = platforms.linux ++ platforms.darwin;
46 mainProgram = "goaccess";