aboutsummaryrefslogtreecommitdiff
path: root/pkgs/dovecot/plugins/fts_xapian/default.nix
blob: 611d67b74a2d08b7420502113f22cd1a490cb20d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv, autoconf, automake, pkg-config, dovecot, libtool, xapian, icu, mylibs, sqlite }:

stdenv.mkDerivation (mylibs.fetchedGithub ./fts-xapian.json // rec {
  buildInputs = [ dovecot autoconf automake libtool pkg-config xapian icu sqlite ];
  preConfigure = ''
    export PANDOC=false
    autoreconf -vi
    '';
  configureFlags = [
    "--with-dovecot=${dovecot}/lib/dovecot"
    "--without-dovecot-install-dirs"
    "--with-moduledir=$(out)/lib/dovecot"
  ];
})