2016-01-02 23:45:03 +01:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, bison, flex, openssl, pcre, libmilter, opendkim }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "rmilter-${version}";
|
2016-02-18 04:41:06 +01:00
|
|
|
version = "1.7.3";
|
|
|
|
|
2016-01-02 23:45:03 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vstakhov";
|
|
|
|
repo = "rmilter";
|
|
|
|
rev = version;
|
2016-02-18 04:41:06 +01:00
|
|
|
sha256 = "04xalaxq5xgg5ls0f4ayp8yhzdfq5gqjb8qwfyha3mrx4dqrgh7s";
|
2016-01-02 23:45:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ bison cmake flex ];
|
2016-02-18 04:41:06 +01:00
|
|
|
buildInputs = [ libmilter openssl pcre opendkim ];
|
2016-01-02 23:45:03 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://github.com/vstakhov/rmilter";
|
2016-02-18 04:41:06 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
description = ''
|
|
|
|
Daemon to integrate rspamd and milter compatible MTA, for example
|
|
|
|
postfix or sendmail
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ avnik fpletz ];
|
2016-01-02 23:45:03 +01:00
|
|
|
};
|
|
|
|
}
|