{ stdenv, fetchurl, libtool, groff }:
let
pkg = "qmailanalog";
ver = "0.70";
web = https://cr.yp.to;
in stdenv.mkDerivation rec {
name = "${pkg}-${ver}";
src = fetchurl {
url = "${web}/software/${pkg}-${ver}.tar.gz";
sha256 = "0nx5k0vxzly50k95d6zaidnac0hlzdbqcmpgkp8fh34qbk1z8xiv";
};
buildInputs = [libtool groff];
configurePhase = ''
echo $out > conf-home
'';
installTargets = "setup check";
patches = [
./errno.patch
./matchup.c-taia.patch
];
meta = {
description = "Collection of tools to help analyze qmail's activity record";
homepage = "${web}/${pkg}.html";
license = stdenv.lib.licenses.publicDomain.shortName;
platforms = stdenv.lib.platforms.gnu;
#maintainers = [ stdenv.lib.maintainers.tzeman ];
};
}
# vim: et ts=2 sw=2