Merge pull request #193767 from winterqt/update-dendrite
dendrite: 0.9.9 -> 0.10.1
This commit is contained in:
commit
988c9130e1
@ -195,6 +195,25 @@ in
|
||||
'';
|
||||
};
|
||||
};
|
||||
options.sync_api.search = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Dendrite's full-text search engine");
|
||||
index_path = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "${workingDir}/searchindex";
|
||||
description = lib.mdDoc ''
|
||||
The path the search index will be created in.
|
||||
'';
|
||||
};
|
||||
language = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "en";
|
||||
description = lib.mdDoc ''
|
||||
The language most likely to be used on the server - used when indexing, to
|
||||
ensure the returned results match expectations. A full list of possible languages
|
||||
can be found at https://github.com/blevesearch/bleve/tree/master/analysis/lang
|
||||
'';
|
||||
};
|
||||
};
|
||||
options.user_api = {
|
||||
account_database = {
|
||||
connection_string = lib.mkOption {
|
||||
|
@ -3,16 +3,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "matrix-dendrite";
|
||||
version = "0.9.9";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "dendrite";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-HPcPaI0JACyDJAHTGSXHoIuWU34A8pV7blmt/zKOUB4=";
|
||||
sha256 = "sha256-o+vdxjxbgTPhXtmjrMXf/kBGYaaF3nvVnrG+PGnaM70=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-jX8NJYrhUHRUiZRTqzgMK3mgRhzPJGFNTCK4SuEHKzg=";
|
||||
vendorSha256 = "sha256-sd2frDxtMd0YUVCCQGaNYU7KopZQC1Ld5OHnjttTrgA=";
|
||||
|
||||
# some tests are racy, re-enable once upstream has fixed them
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user