Skip to content

Commit

Permalink
matrix-synapse: override twisted 20.3.0 -> 21.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mguentner committed Aug 22, 2021
1 parent e6e8fe7 commit e9d6163
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions pkgs/servers/matrix-synapse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit e9d6163

Please sign in to comment.