Merge pull request #101853 from Ma27/bump-matrix-synapse
matrix-synapse: 1.21.2 -> 1.22.0
This commit is contained in:
commit
41f0c4ad9b
@ -1,5 +1,6 @@
|
||||
{ lib, stdenv, python3, openssl
|
||||
, enableSystemd ? stdenv.isLinux, nixosTests
|
||||
, enableRedis ? false
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
@ -9,11 +10,11 @@ let
|
||||
in
|
||||
buildPythonApplication rec {
|
||||
pname = "matrix-synapse";
|
||||
version = "1.21.2";
|
||||
version = "1.22.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "061b2mpdzqxyks1kj3p7xmw8i4akqfd2s9vb7v8w27k2qpcw7528";
|
||||
sha256 = "0dl4a5zirrjabbfibl9vj4zb16md11kqkz2v9l299gxbwwvzqc39";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -53,13 +54,15 @@ buildPythonApplication rec {
|
||||
typing-extensions
|
||||
authlib
|
||||
pyjwt
|
||||
] ++ lib.optional enableSystemd systemd;
|
||||
] ++ lib.optional enableSystemd systemd
|
||||
++ lib.optional enableRedis hiredis;
|
||||
|
||||
checkInputs = [ mock parameterized openssl ];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
${lib.optionalString (!enableRedis) "rm -r tests/replication # these tests need the optional dependency 'hiredis'"}
|
||||
PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial tests
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user