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