diff options
Diffstat (limited to 'pkgs/dovecot/plugins/fts_xapian')
-rw-r--r-- | pkgs/dovecot/plugins/fts_xapian/default.nix | 14 | ||||
-rw-r--r-- | pkgs/dovecot/plugins/fts_xapian/fts-xapian.json | 15 |
2 files changed, 29 insertions, 0 deletions
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 @@ | |||
1 | { stdenv, autoconf, automake, pkg-config, dovecot, libtool, xapian, icu, mylibs }: | ||
2 | |||
3 | stdenv.mkDerivation (mylibs.fetchedGithub ./fts-xapian.json // rec { | ||
4 | buildInputs = [ dovecot autoconf automake libtool pkg-config xapian icu ]; | ||
5 | preConfigure = '' | ||
6 | export PANDOC=false | ||
7 | autoreconf -vi | ||
8 | ''; | ||
9 | configureFlags = [ | ||
10 | "--with-dovecot=${dovecot}/lib/dovecot" | ||
11 | "--without-dovecot-install-dirs" | ||
12 | "--with-moduledir=$(out)/lib/dovecot" | ||
13 | ]; | ||
14 | }) | ||
diff --git a/pkgs/dovecot/plugins/fts_xapian/fts-xapian.json b/pkgs/dovecot/plugins/fts_xapian/fts-xapian.json new file mode 100644 index 0000000..a786776 --- /dev/null +++ b/pkgs/dovecot/plugins/fts_xapian/fts-xapian.json | |||
@@ -0,0 +1,15 @@ | |||
1 | { | ||
2 | "tag": "9a94b4a-master", | ||
3 | "meta": { | ||
4 | "name": "fts-xapian", | ||
5 | "url": "https://github.com/grosjo/fts-xapian", | ||
6 | "branch": "master" | ||
7 | }, | ||
8 | "github": { | ||
9 | "owner": "grosjo", | ||
10 | "repo": "fts-xapian", | ||
11 | "rev": "9a94b4aeaac3988786ad72a716127c306b05c9d6", | ||
12 | "sha256": "12xv5fnqahs0cy26ja2jwk6dg95626amblisf2wcx3nqzkcf4w1y", | ||
13 | "fetchSubmodules": true | ||
14 | } | ||
15 | } | ||