1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/servers/mail/rmilter/default.nix

34 lines
982 B
Nix
Raw Normal View History

2016-12-16 14:51:31 +00:00
{ stdenv, fetchFromGitHub, cmake, bison, flex, pkgconfig, openssl, pcre
, libmilter, opendkim, libmemcached, glib }:
2016-01-02 22:45:03 +00:00
let patchedLibmilter = stdenv.lib.overrideDerivation libmilter (_ : {
patches = libmilter.patches ++ [ ./fd-passing-libmilter.patch ];
});
in
2016-01-02 22:45:03 +00:00
stdenv.mkDerivation rec {
name = "rmilter-${version}";
2016-12-16 14:51:31 +00:00
version = "1.10.0";
2016-02-18 03:41:06 +00:00
2016-01-02 22:45:03 +00:00
src = fetchFromGitHub {
owner = "vstakhov";
repo = "rmilter";
rev = version;
2016-12-16 14:51:31 +00:00
sha256 = "1gbp6jah88l6xqgflim01ycyp63l733bgir65fxnnrmifj1qzymh";
2016-01-02 22:45:03 +00:00
};
2016-12-16 14:51:31 +00:00
nativeBuildInputs = [ bison cmake flex pkgconfig ];
buildInputs = [ libmemcached patchedLibmilter openssl pcre opendkim glib ];
2016-01-02 22:45:03 +00:00
meta = with stdenv.lib; {
homepage = https://github.com/vstakhov/rmilter;
2016-04-25 14:29:36 +01:00
license = licenses.asl20;
2016-02-18 03:41:06 +00:00
description = ''
Daemon to integrate rspamd and milter compatible MTA, for example
postfix or sendmail
'';
maintainers = with maintainers; [ avnik fpletz ];
platforms = with platforms; linux;
2016-01-02 22:45:03 +00:00
};
}