Merge pull request #307317 from fabaff/goaccess-bump
goaccess: 1.9.1 -> 1.9.2
This commit is contained in:
commit
29a26e4141
|
@ -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";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user