rspamd: 1.6.6 -> 1.7.3

This commit is contained in:
Jan Malakhovski 2018-05-13 01:09:09 +00:00
parent dd608f80db
commit d0dcc467db

View File

@ -6,23 +6,18 @@ in
stdenv.mkDerivation rec {
name = "rspamd-${version}";
version = "1.6.6";
version = "1.7.3";
src = fetchFromGitHub {
owner = "vstakhov";
repo = "rspamd";
rev = version;
sha256 = "04jqrki7rlxywdig264kavy1h5882rspi2drkbdzrk35jjq8rh3h";
sha256 = "1gb4zg8i1nj337f65s434h299ad19c0d7jyawb2glvv3n4cshm97";
};
nativeBuildInputs = [ cmake pkgconfig perl ];
buildInputs = [ glib gmime libevent libmagic luajit openssl pcre sqlite ragel icu libfann];
postPatch = ''
substituteInPlace conf/common.conf --replace "\$CONFDIR/rspamd.conf.local" "/etc/rspamd/rspamd.conf.local"
substituteInPlace conf/common.conf --replace "\$CONFDIR/rspamd.conf.local.override" "/etc/rspamd/rspamd.conf.local.override"
'';
cmakeFlags = ''
-DDEBIAN_BUILD=ON
-DRUNDIR=/var/run/rspamd