mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
matrix-synapse: use frozendict 1.2
This commit is contained in:
parent
bae10ead99
commit
455ef76700
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user