nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #307317 from fabaff/goaccess-bump

goaccess: 1.9.1 -> 1.9.2

authored by

Fabian Affolter and committed by
GitHub
29a26e41 dec10094

+17 -24
+17 -24
pkgs/tools/misc/goaccess/default.nix
··· 1 - { lib 2 - , stdenv 3 - , autoreconfHook 4 - , fetchFromGitHub 5 - , gettext 6 - , libmaxminddb 7 - , ncurses 8 - , openssl 9 - , withGeolocation ? true 1 + { 2 + lib, 3 + stdenv, 4 + autoreconfHook, 5 + fetchFromGitHub, 6 + gettext, 7 + libmaxminddb, 8 + ncurses, 9 + openssl, 10 + withGeolocation ? true, 10 11 }: 11 12 12 13 stdenv.mkDerivation rec { 13 - version = "1.9.1"; 14 14 pname = "goaccess"; 15 + version = "1.9.2"; 15 16 16 17 src = fetchFromGitHub { 17 18 owner = "allinurl"; 18 - repo = pname; 19 - rev = "v${version}"; 20 - sha256 = "sha256-vfsMyUnhwsI/tY7d/UpDCyG6DmYzWn9qTi2C0icTPpg="; 19 + repo = "goaccess"; 20 + rev = "refs/tags/v${version}"; 21 + hash = "sha256-FAooBAP2RbqAp7NTJNBdbRVldGCbx3SvOoTaiQ9Fl/I="; 21 22 }; 22 23 23 - nativeBuildInputs = [ 24 - autoreconfHook 25 - ]; 24 + nativeBuildInputs = [ autoreconfHook ]; 26 25 27 26 buildInputs = [ 28 27 ncurses 29 28 openssl 30 - ] ++ lib.optionals withGeolocation [ 31 - libmaxminddb 32 - ] ++ lib.optionals stdenv.isDarwin [ 33 - gettext 34 - ]; 29 + ] ++ lib.optionals withGeolocation [ libmaxminddb ] ++ lib.optionals stdenv.isDarwin [ gettext ]; 35 30 36 31 configureFlags = [ 37 32 "--enable-utf8" 38 33 "--with-openssl" 39 - ] ++ lib.optionals withGeolocation [ 40 - "--enable-geoip=mmdb" 41 - ]; 34 + ] ++ lib.optionals withGeolocation [ "--enable-geoip=mmdb" ]; 42 35 43 36 meta = with lib; { 44 37 description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems";