lol
at 18.03-beta 31 lines 846 B view raw
1{ stdenv, fetchurl, pkgconfig, geoipWithDatabase, ncurses, glib }: 2 3stdenv.mkDerivation rec { 4 version = "1.1.1"; 5 name = "goaccess-${version}"; 6 7 src = fetchurl { 8 url = "http://tar.goaccess.io/goaccess-${version}.tar.gz"; 9 sha256 = "1lxnhvh4xhkgzdv0l2fiza2099phn9zs04p9cqfhhl5k6xq18wsc"; 10 }; 11 12 configureFlags = [ 13 "--enable-geoip" 14 "--enable-utf8" 15 ]; 16 17 nativeBuildInputs = [ pkgconfig ]; 18 buildInputs = [ 19 geoipWithDatabase 20 ncurses 21 glib 22 ]; 23 24 meta = { 25 description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems"; 26 homepage = http://goaccess.prosoftcorp.com; 27 license = stdenv.lib.licenses.mit; 28 platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 29 maintainers = with stdenv.lib.maintainers; [ ederoyd46 garbas ]; 30 }; 31}