New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dovecot plugin for Full Text Search (FTS) with Xapian #78780
Conversation
2f6d201
to
51ecb37
Compare
I tested it and it works :) |
]; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = https://github.com/grosjo/fts-xapian; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
URLs should be quoted per RFC45.
https://github.com/NixOS/rfcs/blob/master/rfcs/0045-deprecate-url-syntax.md
{ stdenv, fetchFromGitHub, autoconf, automake, pkg-config, dovecot, libtool, xapian, icu64 }: | ||
stdenv.mkDerivation { | ||
pname = "fts-xapian"; | ||
version = "1.2.11a"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe update to https://github.com/grosjo/fts-xapian/releases/tag/1.3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.3.1 got out today, even.
sha256 = "1n9bvv2rgnmmpm472y067yfzwah39ig1ziwyk5gmrbg0k54x81dk"; | ||
}; | ||
|
||
buildInputs = [ dovecot autoconf automake libtool pkg-config xapian icu64 ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
autoconf, automake, libtool and pkg-config should be nativeBuildInputs
Thanks @symphorien and @mweinelt. I've amended the commit to include your corrections. I've also added sqlite as a dependency because it is now required by upstream. |
homepage = "https://github.com/grosjo/fts-xapian"; | ||
description = "Dovecot FTS plugin based on Xapian"; | ||
license = licenses.lgpl21; | ||
maintainers = with maintainers; [ ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider adding yourself as maintainer.
Result of 1 package built:- dovecot_fts_xapian |
Thank you! :) |
Motivation for this change
Run server-side Xapian-powered Full Text Search (FTS) through IMAP into mails managed by Dovecot2.
Things done
Add fts-xapian plugin, loadable with
services.dovecot2.modules = [ pkgs.dovecot_fts_xapian ];
Pandoc support is disabled.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)