ajs124 2022-06-27 13:49:29 +02:00
parent ec5b885d95
commit 65b8af2a7f

View file

@ -1,4 +1,4 @@
{ coreutils, db, fetchurl, openssl, pcre, perl, pkg-config, lib, stdenv
{ coreutils, db, fetchurl, openssl, pcre2, perl, pkg-config, lib, stdenv
, enableLDAP ? false, openldap
, enableMySQL ? false, libmysqlclient, zlib
, enableAuthDovecot ? false, dovecot
@ -10,15 +10,15 @@
stdenv.mkDerivation rec {
pname = "exim";
version = "4.95";
version = "4.96";
src = fetchurl {
url = "https://ftp.exim.org/pub/exim/exim4/${pname}-${version}.tar.xz";
sha256 = "0rzi0kc3qiiaw8vnv5qrpwdvvh4sr5chns026xy99spjzx9vd76c";
hash = "sha256-KZpWknsus0d9qv08W9oCvGflxOWJinrq8nQIdSeM8aM=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ coreutils db openssl perl pcre ]
buildInputs = [ coreutils db openssl perl pcre2 ]
++ lib.optional enableLDAP openldap
++ lib.optionals enableMySQL [ libmysqlclient zlib ]
++ lib.optional enableAuthDovecot dovecot