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:
parent
e6e8fe7633
commit
e9d616380b
@ -4,13 +4,25 @@
|
|||||||
, callPackage
|
, callPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3.pkgs;
|
|
||||||
|
|
||||||
let
|
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 { };
|
tools = callPackage ./tools { };
|
||||||
in
|
in
|
||||||
buildPythonApplication rec {
|
with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "1.39.0";
|
version = "1.39.0";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user