X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=pkgs%2Fdovecot%2Fplugins%2Ffts_xapian%2Fdefault.nix;fp=pkgs%2Fdovecot%2Fplugins%2Ffts_xapian%2Fdefault.nix;h=350a3ff0d3b46950246560c036e7563aec364d5f;hb=a929614f94d11a4f397e72e74f38b3212c24cdee;hp=0000000000000000000000000000000000000000;hpb=53fa9f9e7d87835d6137a029fe80b3195e635797;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/pkgs/dovecot/plugins/fts_xapian/default.nix b/pkgs/dovecot/plugins/fts_xapian/default.nix new file mode 100644 index 0000000..350a3ff --- /dev/null +++ b/pkgs/dovecot/plugins/fts_xapian/default.nix @@ -0,0 +1,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" + ]; +})