dendrite: 0.9.9 -> 0.10.1

Changed files
+22 -3
nixos
modules
services
matrix
pkgs
servers
dendrite
+19
nixos/modules/services/matrix/dendrite.nix
···
'';
};
};
options.user_api = {
account_database = {
connection_string = lib.mkOption {
···
'';
};
};
+
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 -3
pkgs/servers/dendrite/default.nix
···
buildGoModule rec {
pname = "matrix-dendrite";
-
version = "0.9.9";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "dendrite";
rev = "v${version}";
-
sha256 = "sha256-HPcPaI0JACyDJAHTGSXHoIuWU34A8pV7blmt/zKOUB4=";
};
-
vendorSha256 = "sha256-jX8NJYrhUHRUiZRTqzgMK3mgRhzPJGFNTCK4SuEHKzg=";
# some tests are racy, re-enable once upstream has fixed them
doCheck = false;
···
buildGoModule rec {
pname = "matrix-dendrite";
+
version = "0.10.1";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "dendrite";
rev = "v${version}";
+
sha256 = "sha256-o+vdxjxbgTPhXtmjrMXf/kBGYaaF3nvVnrG+PGnaM70=";
};
+
vendorSha256 = "sha256-sd2frDxtMd0YUVCCQGaNYU7KopZQC1Ld5OHnjttTrgA=";
# some tests are racy, re-enable once upstream has fixed them
doCheck = false;