1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/tools/networking/webalizer/default.nix
Lluís Batlle i Rossell 0def824532 Updating webalizer.
svn path=/nixpkgs/trunk/; revision=31105
2011-12-26 17:27:30 +00:00

21 lines
509 B
Nix

{stdenv, fetchurl, zlib, libpng, gd, geoip, db4}:
stdenv.mkDerivation {
name = "webalizer-2.23-05";
src = fetchurl {
url = ftp://ftp.mrunix.net/pub/webalizer/webalizer-2.23-05-src.tar.bz2;
sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g";
};
preConfigure =
''
substituteInPlace ./configure \
--replace "--static" ""
'';
buildInputs = [zlib libpng gd geoip db4];
configureFlags = "--enable-dns --enable-geoip --disable-static --enable-shared";
}