1a @ { zlib, libpng, freetype, gd, which, libxml2, geoip, ... } :
2let
3 s = import ./src-for-default.nix;
4 buildInputs = with a; [
5 zlib libpng freetype gd which libxml2
6 geoip
7 ];
8in
9rec {
10 src = a.fetchUrlFromSrcInfo s;
11
12 inherit (s) name;
13 inherit buildInputs;
14 configureFlags = [];
15
16 /* doConfigure should be removed if not needed */
17 phaseNames = ["doConfigure" "doMakeInstall" "doLinks"];
18
19 doLinks = a.fullDepEntry (''
20 ln -s shared_en.xsl $out/share/webdruid/classic/shared.xsl
21 '') ["minInit"];
22
23 meta = {
24 description = "A web log analyzer";
25 maintainers = [
26 a.lib.maintainers.raskin
27 ];
28 platforms = a.lib.platforms.linux;
29 };
30}