depot/third_party/nixpkgs/pkgs/tools/networking/webalizer/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

32 lines
731 B
Nix

{ lib, stdenv, fetchurl, zlib, libpng, gd, geoip, db }:
stdenv.mkDerivation rec {
pname = "webalizer";
version = "2.23-05";
src = fetchurl {
url = "ftp://ftp.mrunix.net/pub/webalizer/webalizer-${version}-src.tar.bz2";
sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g";
};
preConfigure =
''
substituteInPlace ./configure \
--replace "--static" ""
'';
buildInputs = [zlib libpng gd geoip db];
configureFlags = [
"--enable-dns"
"--enable-geoip"
"--enable-shared"
];
meta = with lib; {
description = "Web server log file analysis program";
homepage = "http://www.webalizer.org";
platforms = platforms.unix;
license = licenses.gpl2;
};
}