mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
9e78f76ade
* freetype: Remove unnecessary `--disable-static`. The true-by-default `dontDisableStatic` already takes care of it. Fixes freetype not being overridable to have static libs. * treewide: Remove unnecessary `--disable-static`. The true-by-default `dontDisableStatic` already takes care of it. Fixes these packages not being overridable to have static libs.
32 lines
706 B
Nix
32 lines
706 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"
|
|
"--enable-shared"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Web server log file analysis program";
|
|
homepage = http://www.webalizer.org;
|
|
platforms = platforms.unix;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|