nixpkgs/pkgs/applications/misc/procmail/default.nix
Yury G. Kudryashov ecea9e1e0d procmail: syntax changed, mailstat should work
svn path=/nixpkgs/branches/stdenv-updates/; revision=10437
2008-01-31 17:32:06 +00:00

14 lines
435 B
Nix

args: with args;
stdenv.mkDerivation {
name="procmail-3.22";
patchPhase = "find . -type f | xargs sed -i 's@/bin/rm@rm@g' ";
configurePhase= "make init";
makeFlags = ''BASENAME=$(out) LIBS=-lm'';
postInstall = '' sed -i /^PATH/d $out/bin/mailstat '';
src = fetchurl {
url = ftp://ftp.fu-berlin.de/pub/unix/mail/procmail/procmail-3.22.tar.gz;
sha256 = "05z1c803n5cppkcq99vkyd5myff904lf9sdgynfqngfk9nrpaz08";
};
}