matrix-synapse: 1.80.0 -> 1.81.0
https://github.com/matrix-org/synapse/releases/tag/v1.81.0 Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
5da4f0f877
commit
1291a568f2
1 changed files with 4 additions and 5 deletions
|
@ -12,27 +12,26 @@ in
|
||||||
with python3.pkgs;
|
with python3.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "matrix-synapse";
|
pname = "matrix-synapse";
|
||||||
version = "1.80.0";
|
version = "1.81.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "matrix-org";
|
owner = "matrix-org";
|
||||||
repo = "synapse";
|
repo = "synapse";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Lw6gmuI+ntOW54HQbmDoY9QYNDTu5vgtrJz6HMWWmMM=";
|
hash = "sha256-zOpjJSzQNgWQy52GjwR1zy3oaMRTxP92T3hNaYhmcCs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
inherit src;
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
hash = "sha256-KqPpaIJ8VuVV6f6n14/7wbA+Vtk7NvWm09bUBWuAAlY=";
|
hash = "sha256-s/zq8VGBdIQu/Q/2gJrLFtZJ+lsTyK+2fr9RYhBTbKA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Remove setuptools_rust from runtime dependencies
|
# Remove setuptools_rust from runtime dependencies
|
||||||
# https://github.com/matrix-org/synapse/blob/v1.69.0/pyproject.toml#L177-L185
|
# https://github.com/matrix-org/synapse/blob/v1.69.0/pyproject.toml#L177-L185
|
||||||
sed -i '/^setuptools_rust =/d' pyproject.toml
|
sed -i '/^setuptools_rust =/d' pyproject.toml
|
||||||
sed -i 's/^frozendict = ">=1,!=2.1.2,<2.3.5"/frozendict = ">=1,!=2.1.2,<2.3.6"/g' pyproject.toml
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -52,8 +51,8 @@ buildPythonApplication rec {
|
||||||
bleach
|
bleach
|
||||||
canonicaljson
|
canonicaljson
|
||||||
daemonize
|
daemonize
|
||||||
frozendict
|
|
||||||
ijson
|
ijson
|
||||||
|
immutabledict
|
||||||
jinja2
|
jinja2
|
||||||
jsonschema
|
jsonschema
|
||||||
lxml
|
lxml
|
||||||
|
|
Loading…
Reference in a new issue