Merge pull request #307317 from fabaff/goaccess-bump

goaccess: 1.9.1 -> 1.9.2
This commit is contained in:
Fabian Affolter 2024-04-28 08:04:13 +02:00 committed by GitHub
commit 29a26e4141
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,44 +1,37 @@
{ lib {
, stdenv lib,
, autoreconfHook stdenv,
, fetchFromGitHub autoreconfHook,
, gettext fetchFromGitHub,
, libmaxminddb gettext,
, ncurses libmaxminddb,
, openssl ncurses,
, withGeolocation ? true openssl,
withGeolocation ? true,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.9.1";
pname = "goaccess"; pname = "goaccess";
version = "1.9.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "allinurl"; owner = "allinurl";
repo = pname; repo = "goaccess";
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-vfsMyUnhwsI/tY7d/UpDCyG6DmYzWn9qTi2C0icTPpg="; hash = "sha256-FAooBAP2RbqAp7NTJNBdbRVldGCbx3SvOoTaiQ9Fl/I=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [ autoreconfHook ];
autoreconfHook
];
buildInputs = [ buildInputs = [
ncurses ncurses
openssl openssl
] ++ lib.optionals withGeolocation [ ] ++ lib.optionals withGeolocation [ libmaxminddb ] ++ lib.optionals stdenv.isDarwin [ gettext ];
libmaxminddb
] ++ lib.optionals stdenv.isDarwin [
gettext
];
configureFlags = [ configureFlags = [
"--enable-utf8" "--enable-utf8"
"--with-openssl" "--with-openssl"
] ++ lib.optionals withGeolocation [ ] ++ lib.optionals withGeolocation [ "--enable-geoip=mmdb" ];
"--enable-geoip=mmdb"
];
meta = with lib; { meta = with lib; {
description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems"; description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems";