Switch to fork of pantalaimon

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-05-03 12:10:25 +02:00
parent 876da8e2b7
commit ad9d61e7f5
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -1,22 +1,49 @@
{ ... }: { pkgs, ... }:
{ {
services.pantalaimon = services.pantalaimon =
{ {
# enable = true; # enable = true;
package = (pkgs.pantalaimon.override (old: {
matrix-nio = old.matrix-nio.overridePythonAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "codemonium";
repo = "matrix-nio";
rev = "1ba34112ca221adf0ed1d9e5028d5a7f3a4a72ca";
hash = "sha256-T8wFJlUMQVwJHNzIZiQ4M/uImTvIqW5PGJoWV0kbHkA=";
};
disabledTests = old.disabledTests ++ [
"test_room_invite"
"test_account_loading"
"test_olm_session_load"
"test_store_versioning"
];
});
})).overridePythonAttrs
(old:
{
src = pkgs.fetchFromGitHub {
owner = "codemonium";
repo = "pantalaimon";
rev = "25d415fac4ad653da1e427bc05beed2d21bc169f";
hash = "sha256-U+dSlfYx2ADin+zbEPNIHkjytMUmZ6QkklU0bCyt/Pg=";
};
});
settings = settings =
{ {
Default = Default =
{ {
LogLevel = "Debug"; LogLevel = "Info";
SSL = true; SSL = true;
UseKeyring = false;
IgnoreVerification = true;
}; };
local-matrix = local-matrix =
{ {
Homeserver = "https://matrix.redalder.org"; Homeserver = "https://matrix.redalder.org";
ListenAddress = "127.0.0.1"; ListenAddress = "127.0.0.1";
ListenPort = 8008; ListenPort = 8008;
UseKeyring = false;
IgnoreVerification = true;
SSL = false;
}; };
}; };
}; };