nixpkgs/pkgs/servers/mail/rmilter/default.nix

23 lines
695 B
Nix
Raw Normal View History

2016-01-02 22:45:03 +00:00
{ stdenv, fetchFromGitHub, cmake, bison, flex, openssl, pcre, libmilter, opendkim }:
stdenv.mkDerivation rec {
name = "rmilter-${version}";
version = "1.6.7";
src = fetchFromGitHub {
owner = "vstakhov";
repo = "rmilter";
rev = version;
sha256 = "1syviydlv4m1isl0r52sk4s0a75fyk788j1z3yvfzzf1hga333gn";
};
nativeBuildInputs = [ bison cmake flex ];
buildInputs = [ libmilter openssl pcre opendkim];
meta = with stdenv.lib; {
homepage = "https://github.com/vstakhov/rmilter";
license = licenses.bsd2;
description = "server, used to integrate rspamd and milter compatible MTA, for example postfix or sendmail";
maintainer = maintainers.avnik;
};
}