aboutsummaryrefslogtreecommitdiff
path: root/pkgs/dovecot/plugins/fts_xapian/default.nix
blob: 350a3ff0d3b46950246560c036e7563aec364d5f (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 }:

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