|
1
|
1 |
{ stdenv, fetchurl, libtool, groff }:
|
|
|
2 |
|
|
|
3 |
let
|
|
|
4 |
pkg = "qmailanalog";
|
|
|
5 |
ver = "0.70";
|
|
|
6 |
web = https://cr.yp.to;
|
|
|
7 |
in stdenv.mkDerivation rec {
|
|
|
8 |
name = "${pkg}-${ver}";
|
|
|
9 |
|
|
|
10 |
src = fetchurl {
|
|
|
11 |
url = "${web}/software/${pkg}-${ver}.tar.gz";
|
|
|
12 |
sha256 = "0nx5k0vxzly50k95d6zaidnac0hlzdbqcmpgkp8fh34qbk1z8xiv";
|
|
|
13 |
};
|
|
|
14 |
|
|
|
15 |
buildInputs = [libtool groff];
|
|
|
16 |
|
|
|
17 |
configurePhase = ''
|
|
|
18 |
echo $out > conf-home
|
|
|
19 |
'';
|
|
|
20 |
|
|
|
21 |
installTargets = "setup check";
|
|
|
22 |
|
|
|
23 |
patches = [
|
|
|
24 |
./errno.patch
|
|
|
25 |
./matchup.c-taia.patch
|
|
|
26 |
];
|
|
|
27 |
|
|
|
28 |
meta = {
|
|
|
29 |
description = "Collection of tools to help analyze qmail's activity record";
|
|
|
30 |
homepage = "${web}/${pkg}.html";
|
|
|
31 |
license = stdenv.lib.licenses.publicDomain.shortName;
|
|
|
32 |
platforms = stdenv.lib.platforms.gnu;
|
|
4
|
33 |
maintainers = [ stdenv.lib.maintainers.tzeman ];
|
|
1
|
34 |
};
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
# vim: et ts=2 sw=2
|