matrix-synapse: unpin frozendict
This commit is contained in:
parent
c619cf79ac
commit
6739a8c5e8
@ -5,26 +5,10 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
py = python3.override {
|
plugins = python3.pkgs.callPackage ./plugins { };
|
||||||
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 = py.pkgs.callPackage ./plugins { };
|
|
||||||
tools = callPackage ./tools { };
|
tools = callPackage ./tools { };
|
||||||
in
|
in
|
||||||
|
with python3.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "1.45.1";
|
version = "1.45.1";
|
||||||
@ -82,13 +66,13 @@ buildPythonApplication rec {
|
|||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
PYTHONPATH=".:$PYTHONPATH" ${py.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tests
|
PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial -j $NIX_BUILD_CORES tests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests) matrix-synapse; };
|
passthru.tests = { inherit (nixosTests) matrix-synapse; };
|
||||||
passthru.plugins = plugins;
|
passthru.plugins = plugins;
|
||||||
passthru.tools = tools;
|
passthru.tools = tools;
|
||||||
passthru.python = py;
|
passthru.python = python3;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://matrix.org";
|
homepage = "https://matrix.org";
|
||||||
|
Loading…
Reference in New Issue
Block a user