matrix-synapse: 0.34.0.1 -> 0.34.1.1
Also correctly run tests.
This commit is contained in:
parent
06c08984ae
commit
bc561526d1
1 changed files with 6 additions and 22 deletions
|
@ -5,20 +5,6 @@
|
||||||
with python2.pkgs;
|
with python2.pkgs;
|
||||||
|
|
||||||
let
|
let
|
||||||
matrix-angular-sdk = buildPythonPackage rec {
|
|
||||||
pname = "matrix-angular-sdk";
|
|
||||||
version = "0.6.8";
|
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "0gmx4y5kqqphnq3m7xk2vpzb0w2a4palicw7wfdr1q2schl9fhz2";
|
|
||||||
};
|
|
||||||
|
|
||||||
# no checks from Pypi but as this is abandonware, there will be no
|
|
||||||
# new version anyway
|
|
||||||
doCheck = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
matrix-synapse-ldap3 = buildPythonPackage rec {
|
matrix-synapse-ldap3 = buildPythonPackage rec {
|
||||||
pname = "matrix-synapse-ldap3";
|
pname = "matrix-synapse-ldap3";
|
||||||
version = "0.1.3";
|
version = "0.1.3";
|
||||||
|
@ -37,11 +23,11 @@ let
|
||||||
|
|
||||||
in buildPythonApplication rec {
|
in buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "0.34.0.1";
|
version = "0.34.1.1";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "00mj8gb8yx43frzni7xqxr52xix0vizydbmcnhjb6mnr5w6jafb7";
|
sha256 = "13jmbcabll3gk0b6yqwfwpc7aymqhpv6iririzskhm4pgbjcp3yk";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -58,7 +44,6 @@ in buildPythonApplication rec {
|
||||||
jinja2
|
jinja2
|
||||||
jsonschema
|
jsonschema
|
||||||
lxml
|
lxml
|
||||||
matrix-angular-sdk
|
|
||||||
matrix-synapse-ldap3
|
matrix-synapse-ldap3
|
||||||
msgpack-python
|
msgpack-python
|
||||||
netaddr
|
netaddr
|
||||||
|
@ -88,12 +73,11 @@ in buildPythonApplication rec {
|
||||||
unpaddedbase64
|
unpaddedbase64
|
||||||
] ++ lib.optional enableSystemd systemd;
|
] ++ lib.optional enableSystemd systemd;
|
||||||
|
|
||||||
# tests fail under py3 for now, but version 0.34.0 will use py3 by default
|
checkInputs = [ mock ];
|
||||||
# https://github.com/matrix-org/synapse/issues/4036
|
|
||||||
doCheck = true;
|
|
||||||
checkPhase = "python -m twisted.trial test";
|
|
||||||
|
|
||||||
checkInputs = [ mock setuptoolsTrial ];
|
checkPhase = ''
|
||||||
|
PYTHONPATH=".:$PYTHONPATH" trial tests
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://matrix.org;
|
homepage = https://matrix.org;
|
||||||
|
|
Loading…
Reference in a new issue