1 { lib, stdenv, fetchFromGitHub, autoreconfHook, sqlite, pkg-config, dovecot, xapian, icu }:
3 stdenv.mkDerivation rec {
4 pname = "dovecot-fts-xapian";
7 src = fetchFromGitHub {
11 hash = "sha256-cLOkXA4kQ15M5TheXy9qZq2je05iY9jwf3tHw20l1Pw=";
14 buildInputs = [ xapian icu sqlite ];
16 nativeBuildInputs = [ autoreconfHook pkg-config ];
23 "--with-dovecot=${dovecot}/lib/dovecot"
24 "--with-moduledir=$(out)/lib/dovecot"
28 homepage = "https://github.com/grosjo/fts-xapian";
29 description = "Dovecot FTS plugin based on Xapian";
30 changelog = "https://github.com/grosjo/fts-xapian/releases";
31 license = licenses.lgpl21Only;
32 maintainers = with maintainers; [ julm symphorien ];
33 platforms = platforms.unix;
34 broken = stdenv.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/dovecot_fts_xapian.x86_64-darwin