]> Git — Sourcephile - sourcephile-nix.git/blob - pkgs/servers/mail/dovecot/plugins/fts_xapian/default.nix
rspamd: no longer use networking.domain*
[sourcephile-nix.git] / pkgs / servers / mail / dovecot / plugins / fts_xapian / default.nix
1 { stdenv, fetchFromGitHub, autoconf, automake, pkg-config, dovecot, libtool, xapian, icu64 }:
2 stdenv.mkDerivation {
3 pname = "fts-xapian";
4 version = "1.2.7";
5
6 src = fetchFromGitHub {
7 owner = "grosjo";
8 repo = "fts-xapian";
9 rev = "f433203e37c84154ca2da6fad435c32242caa98a";
10 sha256 = "0w40icjfvd4pbip16492kf75f83rnjhh6axyh4fmzmsjpzhqgybd";
11 };
12
13 buildInputs = [ dovecot autoconf automake libtool pkg-config xapian icu64 ];
14
15 preConfigure = ''
16 export PANDOC=false
17 autoreconf -vi
18 '';
19
20 configureFlags = [
21 "--with-dovecot=${dovecot}/lib/dovecot"
22 "--without-dovecot-install-dirs"
23 "--with-moduledir=$(out)/lib/dovecot"
24 ];
25
26 meta = with stdenv.lib; {
27 homepage = https://github.com/grosjo/fts-xapian;
28 description = "Dovecot FTS plugin based on Xapian";
29 license = licenses.lgpl21;
30 maintainers = with maintainers; [ ];
31 platforms = platforms.unix;
32 };
33 }