summary refs log tree commit diff
path: root/pkgs/servers/mail/dovecot/default.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2018-01-28 04:37:29 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2018-01-28 18:52:26 +0100
commit646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381 (patch)
tree462a0e1ecbf8aa7aa7790791c07c4c0a8b8280d9 /pkgs/servers/mail/dovecot/default.nix
parentf8968a2a7943d5e923d3b577579f808511c31a9b (diff)
downloadnixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.tar
nixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.tar.gz
nixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.tar.bz2
nixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.tar.lz
nixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.tar.xz
nixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.tar.zst
nixpkgs-646a2e9a6f91c038b9cdb8ed93e5fd99f1edd381.zip
dovecot: 2.2.33.2 -> 2.3.0
Diffstat (limited to 'pkgs/servers/mail/dovecot/default.nix')
-rw-r--r--pkgs/servers/mail/dovecot/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/servers/mail/dovecot/default.nix b/pkgs/servers/mail/dovecot/default.nix
index e2d1f448b32..e995763a4a2 100644
--- a/pkgs/servers/mail/dovecot/default.nix
+++ b/pkgs/servers/mail/dovecot/default.nix
@@ -1,6 +1,6 @@
 { stdenv, lib, fetchurl, perl, pkgconfig, systemd, openssl
-, bzip2, zlib, inotify-tools, pam, libcap
-, clucene_core_2, icu, openldap
+, bzip2, zlib, lz4, inotify-tools, pam, libcap
+, clucene_core_2, icu, openldap, libsodium, libstemmer
 # Auth modules
 , withMySQL ? false, mysql
 , withPgSQL ? false, postgresql
@@ -8,18 +8,19 @@
 }:
 
 stdenv.mkDerivation rec {
-  name = "dovecot-2.2.33.2";
+  name = "dovecot-2.3.0";
 
   nativeBuildInputs = [ perl pkgconfig ];
-  buildInputs = [ openssl bzip2 zlib clucene_core_2 icu openldap ]
+  buildInputs =
+    [ openssl bzip2 zlib lz4 clucene_core_2 icu openldap libsodium libstemmer ]
     ++ lib.optionals (stdenv.isLinux) [ systemd pam libcap inotify-tools ]
     ++ lib.optional withMySQL mysql.connector-c
     ++ lib.optional withPgSQL postgresql
     ++ lib.optional withSQLite sqlite;
 
   src = fetchurl {
-    url = "http://dovecot.org/releases/2.2/${name}.tar.gz";
-    sha256 = "117f9i62liz2pm96zi2lpldzlj2knzj7g410zhifwmlsc1w3n7py";
+    url = "http://dovecot.org/releases/2.3/${name}.tar.gz";
+    sha256 = "10c5myzgys866c3x6jdr1s9x9pqnjd5vpyz8z384sph21m3wnq6y";
   };
 
   preConfigure = ''
@@ -58,6 +59,7 @@ stdenv.mkDerivation rec {
     "--with-ssl=openssl"
     "--with-zlib"
     "--with-bzlib"
+    "--with-lz4"
     "--with-ldap"
     "--with-lucene"
     "--with-icu"
@@ -68,9 +70,9 @@ stdenv.mkDerivation rec {
     ++ lib.optional withSQLite "--with-sqlite";
 
   meta = {
-    homepage = http://dovecot.org/;
+    homepage = https://dovecot.org/;
     description = "Open source IMAP and POP3 email server written with security primarily in mind";
-    maintainers = with stdenv.lib.maintainers; [viric peti rickynils];
+    maintainers = with stdenv.lib.maintainers; [ viric peti rickynils fpletz ];
     platforms = stdenv.lib.platforms.unix;
   };
 }