mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
rspamd: 1.6.6 -> 1.7.3
This commit is contained in:
parent
dd608f80db
commit
d0dcc467db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user