Adding WebDruid log analyzer. In the same time, reworking source autoupdate system a bit

svn path=/nixpkgs/trunk/; revision=16859
This commit is contained in:
Michael Raskin
2009-08-26 11:13:36 +00:00
parent e8931adcf3
commit fbea8a558a
12 changed files with 142 additions and 19 deletions

View File

@@ -0,0 +1,25 @@
a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
zlib
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
inherit (s) name;
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"];
goSrcDir = "cd GeoIP-*/";
meta = {
description = "Geolocation API";
maintainers = [
a.lib.maintainers.raskin
];
};
}

View File

@@ -0,0 +1,8 @@
rec {
advertisedUrl="http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.6.tar.gz";
version = "1.4.6";
url="http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.6.tar.gz";
hash = "1i4ixj6ha62qqzsn23qg428cv1zjj2ip7kmas62xgivvgm02kd0n";
name = "geoip-1.4.6";
}

View File

@@ -0,0 +1,6 @@
{
downloadPage = "http://geolite.maxmind.com/download/geoip/api/c/";
sourceRegexp = "GeoIP-[0-9.]+[.]tar[.]gz";
choiceCommand = "tail -1";
baseName = "geoip";
}