3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/mail/rmilter/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

34 lines
972 B
Nix

{ stdenv, fetchFromGitHub, cmake, bison, flex, pkgconfig, openssl, pcre
, libmilter, opendkim, libmemcached, glib }:
let patchedLibmilter = stdenv.lib.overrideDerivation libmilter (_ : {
patches = libmilter.patches ++ [ ./fd-passing-libmilter.patch ];
});
in
stdenv.mkDerivation rec {
pname = "rmilter";
version = "1.10.0";
src = fetchFromGitHub {
owner = "vstakhov";
repo = "rmilter";
rev = version;
sha256 = "1gbp6jah88l6xqgflim01ycyp63l733bgir65fxnnrmifj1qzymh";
};
nativeBuildInputs = [ bison cmake flex pkgconfig ];
buildInputs = [ libmemcached patchedLibmilter openssl pcre opendkim glib ];
meta = with stdenv.lib; {
homepage = https://github.com/vstakhov/rmilter;
license = licenses.asl20;
description = ''
Daemon to integrate rspamd and milter compatible MTA, for example
postfix or sendmail
'';
maintainers = with maintainers; [ avnik fpletz ];
platforms = with platforms; linux;
};
}