git.iko.soy/typeable/nixpkgs
on master help sign in
goaccess: 1.4 -> 1.4.6
commit67ace3a32d386ffe7c464b8f43bf662a110ab3d4 authorMario Rodas <marsam@users.noreply.github.com> dateSat 24 Apr 2021, 04:20 (6 years ago) parentabd57b5
1 file changed+9−18
pkgs/tools/misc/goaccess/default.nix+9−18
pkgs/tools/misc/goaccess/default.nix+9−18
@@ -1,36 +1,27 @@
1−{ lib, stdenv, fetchurl, pkg-config, ncurses, glib, libmaxminddb, fetchpatch }:
1+{ lib, stdenv, fetchurl, ncurses, gettext, openssl, withGeolocation ? true, libmaxminddb }:
22
33stdenv.mkDerivation rec {
4− version = "1.4";
4+ version = "1.4.6";
55 pname = "goaccess";
66
77 src = fetchurl {
88 url = "https://tar.goaccess.io/goaccess-${version}.tar.gz";
9− sha256 = "1gkpjg39f3afdwm9128jqjsfap07p8s027czzlnxfmi5hpzvkyz8";
9+ sha256 = "1l3j3i4vb7ni7i047qvi9a3hs43ym24r6hfcnqsbhgrb731jf3qx";
1010 };
1111
12− patches = [
13− (fetchpatch {
14− url = "https://github.com/allinurl/goaccess/commit/514618cdd69453497fbf67913ccb37a0a0b07391.patch";
15− sha256 = "11lp7mabfl6ibgzsd9nw10k2xvcm0hrimrwidl06r8dqn2jzjxf6";
16− })
17− ];
18−
1912 configureFlags = [
20− "--enable-geoip=mmdb"
2113 "--enable-utf8"
22− ];
14+ "--with-openssl"
15+ ] ++ lib.optionals withGeolocation [ "--enable-geoip=mmdb" ];
2316
24− nativeBuildInputs = [ pkg-config ];
25− buildInputs = [
26− libmaxminddb
27− ncurses
28− glib
29− ];
17+ buildInputs = [ ncurses openssl ]
18+ ++ lib.optionals withGeolocation [ libmaxminddb ]
19+ ++ lib.optionals stdenv.isDarwin [ gettext ];
3020
3121 meta = {
3222 description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems";
3323 homepage = "https://goaccess.io";
24+ changelog = "https://github.com/allinurl/goaccess/raw/v${version}/ChangeLog";
3425 license = lib.licenses.mit;
3526 platforms = lib.platforms.linux ++ lib.platforms.darwin;
3627 maintainers = with lib.maintainers; [ ederoyd46 ];