matrix-synapse: override twisted 20.3.0 -> 21.7.0

see upstream issues:

https://github.com/twisted/twisted/pull/1225#issuecomment-788560006
https://github.com/matrix-org/synapse/issues/6211
This commit is contained in:
Maximilian Güntner 2021-08-22 16:11:13 +02:00
parent e6e8fe7633
commit e9d616380b
No known key found for this signature in database
GPG Key ID: 4BA583B81DE3F4BD

View File

@ -4,13 +4,25 @@
, callPackage
}:
with python3.pkgs;
let
plugins = python3.pkgs.callPackage ./plugins { };
py = python3.override {
packageOverrides = self: super: {
twisted = super.twisted.overridePythonAttrs (oldAttrs: rec {
version = "21.7.0";
src = oldAttrs.src.override {
inherit version;
extension = "tar.gz";
sha256 = "01lh225d7lfnmfx4f4kxwl3963gjc9yg8jfkn1w769v34ia55mic";
};
propagatedBuildInputs = with self; oldAttrs.propagatedBuildInputs ++ [ typing-extensions ];
});
};
};
plugins = py.pkgs.callPackage ./plugins { };
tools = callPackage ./tools { };
in
buildPythonApplication rec {
with py.pkgs; buildPythonApplication rec {
pname = "matrix-synapse";
version = "1.39.0";