matrix-synapse: use frozendict 1.2

This commit is contained in:
Yureka 2021-09-07 17:57:29 +02:00 committed by Raphael Megzari
parent bae10ead99
commit 455ef76700

View file

@ -4,10 +4,25 @@
, callPackage
}:
with python3.pkgs;
let
py = python3.override {
packageOverrides = self: super: {
frozendict = super.frozendict.overridePythonAttrs (oldAttrs: rec {
version = "1.2";
src = oldAttrs.src.override {
inherit version;
sha256 = "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp";
};
doCheck = false;
});
};
};
in
with py.pkgs;
let
plugins = python3.pkgs.callPackage ./plugins { };
plugins = py.pkgs.callPackage ./plugins { };
tools = callPackage ./tools { };
in
buildPythonApplication rec {
@ -66,13 +81,13 @@ buildPythonApplication rec {
doCheck = !stdenv.isDarwin;
checkPhase = ''
PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial tests
PYTHONPATH=".:$PYTHONPATH" ${py.interpreter} -m twisted.trial tests
'';
passthru.tests = { inherit (nixosTests) matrix-synapse; };
passthru.plugins = plugins;
passthru.tools = tools;
passthru.python = python3;
passthru.python = py;
meta = with lib; {
homepage = "https://matrix.org";