Merge: matrix-synapse: 1.133.0 -> 1.134.0 (#425448)

Changed files
+3 -10
nixos
modules
services
matrix
pkgs
by-name
ma
matrix-synapse
matrix-synapse-unwrapped
-3
nixos/modules/services/matrix/synapse.nix
···
"systemd"
"postgres"
"url-preview"
-
"user-search"
];
wantedExtras =
···
++ lib.optional (cfg.settings ? saml2_config) "saml2"
++ lib.optional (cfg.settings ? redis) "redis"
++ lib.optional (cfg.settings ? sentry) "sentry"
-
++ lib.optional (cfg.settings ? user_directory) "user-search"
++ lib.optional (cfg.settings.url_preview_enabled) "url-preview"
++ lib.optional (cfg.settings.database.name == "psycopg2") "postgres";
···
"sentry" # Error tracking and performance metrics
"systemd" # Provide the JournalHandler used in the default log_config
"url-preview" # Support for oEmbed URL previews
-
"user-search" # Support internationalized domain names in user-search
]
'';
description = ''
···
"systemd"
"postgres"
"url-preview"
];
wantedExtras =
···
++ lib.optional (cfg.settings ? saml2_config) "saml2"
++ lib.optional (cfg.settings ? redis) "redis"
++ lib.optional (cfg.settings ? sentry) "sentry"
++ lib.optional (cfg.settings.url_preview_enabled) "url-preview"
++ lib.optional (cfg.settings.database.name == "psycopg2") "postgres";
···
"sentry" # Error tracking and performance metrics
"systemd" # Provide the JournalHandler used in the default log_config
"url-preview" # Support for oEmbed URL previews
]
'';
description = ''
+3 -6
pkgs/by-name/ma/matrix-synapse-unwrapped/package.nix
···
in
python3.pkgs.buildPythonApplication rec {
pname = "matrix-synapse";
-
version = "1.133.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "element-hq";
repo = "synapse";
rev = "v${version}";
-
hash = "sha256-SCpLM/4sxE9xA781tgjrNNXpScCQOtgKnZKq64eCay8=";
};
patches = [
···
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
-
hash = "sha256-qgQU041VlAFFgEg2RhbK6g+aike+HN0FYuvHYtufzW8=";
};
postPatch = ''
···
];
cache-memory = [
pympler
-
];
-
user-search = [
-
pyicu
];
};
···
in
python3.pkgs.buildPythonApplication rec {
pname = "matrix-synapse";
+
version = "1.134.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "element-hq";
repo = "synapse";
rev = "v${version}";
+
hash = "sha256-q7+yVKFzyu8ccuroZsTSMRRKMwmr3TDojtXNx4bChTE";
};
patches = [
···
cargoDeps = rustPlatform.fetchCargoVendor {
inherit pname version src;
+
hash = "sha256-BfLj+cqS6zpX2qLb+Rur4cy7CyPH2KzdXaTXpNK20DM=";
};
postPatch = ''
···
];
cache-memory = [
pympler
];
};
-1
pkgs/by-name/ma/matrix-synapse/package.nix
···
[
"postgres"
"url-preview"
-
"user-search"
]
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform matrix-synapse-unwrapped.python.pkgs.systemd) "systemd",
plugins ? [ ],
···
[
"postgres"
"url-preview"
]
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform matrix-synapse-unwrapped.python.pkgs.systemd) "systemd",
plugins ? [ ],