1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/networking/webalizer/default.nix
Tuomas Tynkkynen 2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00

25 lines
567 B
Nix

{stdenv, fetchurl, zlib, libpng, gd, geoip, db}:
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 db];
configureFlags = "--enable-dns --enable-geoip --disable-static --enable-shared";
meta = {
platforms = stdenv.lib.platforms.unix;
};
}