at v206 31 lines 951 B view raw
1{ stdenv, fetchurl, libpcap, zlib }: 2 3stdenv.mkDerivation rec { 4 version = "3.0.719"; 5 name = "darkstat-${version}"; 6 7 src = fetchurl { 8 url = "${meta.homepage}/${name}.tar.bz2"; 9 sha256 = "1mzddlim6dhd7jhr4smh0n2fa511nvyjhlx76b03vx7phnar1bxf"; 10 }; 11 12 buildInputs = [ libpcap zlib ]; 13 14 enableParallelBuilding = true; 15 16 meta = with stdenv.lib; { 17 description = "Network statistics web interface"; 18 longDescription = '' 19 Captures network traffic, calculates statistics about usage, and serves 20 reports over HTTP. Features: 21 - Traffic graphs, reports per host, shows ports for each host. 22 - Embedded web-server with deflate compression. 23 - Asynchronous reverse DNS resolution using a child process. 24 - Small. Portable. Single-threaded. Efficient. 25 - Supports IPv6. 26 ''; 27 homepage = http://unix4lyfe.org/darkstat; 28 license = licenses.gpl2; 29 maintainers = with maintainers; [ nckx ]; 30 }; 31}