nixpkgs/pkgs/tools/misc/goaccess/default.nix

35 lines
822 B
Nix
Raw Normal View History

2014-05-27 12:50:30 +02:00
{ stdenv, fetchurl, pkgconfig, geoip, ncurses, glib }:
let
2014-12-05 11:30:25 +01:00
version = "0.8.5";
2014-05-27 12:50:30 +02:00
mainSrc = fetchurl {
2014-12-05 11:30:25 +01:00
url = "http://tar.goaccess.io/goaccess-${version}.tar.gz";
sha256 = "121s1hva33nq0g5n354ln68nalv2frg8slm7n84r81bmi2wvdim4";
2014-05-27 12:50:30 +02:00
};
in
stdenv.mkDerivation rec {
name = "goaccess-${version}";
src = mainSrc;
configureFlags = [
"--enable-geoip"
"--enable-utf8"
];
buildInputs = [
pkgconfig
geoip
ncurses
glib
];
meta = {
description = "Real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems";
2014-05-27 12:50:30 +02:00
homepage = http://goaccess.prosoftcorp.com;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ ederoyd46 ];
};
}