mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #62990 from mayflower/pkg/matrix-synapse-1.0.0
matrix-synapse: 0.99.5.2 -> 1.0.0
This commit is contained in:
commit
076b79a3f1
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, python3
|
{ lib, stdenv, python3, openssl
|
||||||
, enableSystemd ? stdenv.isLinux
|
, enableSystemd ? stdenv.isLinux
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,11 +23,11 @@ let
|
|||||||
|
|
||||||
in buildPythonApplication rec {
|
in buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "0.99.5.2";
|
version = "1.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0c1kf9zq7cg9scwnvph4vwk449gypbprmdjzrzrg0wp1rcc8h3gn";
|
sha256 = "1n8hv0zd818z4fx39yz6svb07zsbrh8fd6wfmgvhdxhp6p1vl0wq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
@ -72,7 +72,7 @@ in buildPythonApplication rec {
|
|||||||
unpaddedbase64
|
unpaddedbase64
|
||||||
] ++ lib.optional enableSystemd systemd;
|
] ++ lib.optional enableSystemd systemd;
|
||||||
|
|
||||||
checkInputs = [ mock parameterized ];
|
checkInputs = [ mock parameterized openssl ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial tests
|
PYTHONPATH=".:$PYTHONPATH" ${python3.interpreter} -m twisted.trial tests
|
||||||
|
Loading…
Reference in New Issue
Block a user