mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
matrix-synapse: 1.92.1 -> 1.93.0
https://github.com/matrix-org/synapse/releases/tag/v1.93.0 Signed-off-by: Sumner Evans <me@sumnerevans.com>
This commit is contained in:
parent
50dad20a8f
commit
33f5fb167e
@ -16,20 +16,20 @@ let
|
||||
in
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "matrix-synapse";
|
||||
version = "1.92.1";
|
||||
version = "1.93.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "synapse";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-rCxoYtdvh+Gu0O2T3uu0k2FFFFc7m09LuKJvkSky3M4=";
|
||||
hash = "sha256-fmY5xjpbFwzrX47ijPxOUTI0w9stYVPpSV+HRF4GdlA=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
hash = "sha256-yZeCENWdPv80Na1++/IQFOrhah/VHWwJDNV2dI/yTHg=";
|
||||
hash = "sha256-9cCEfDV5X65JublgkUP6NVfMIObPawx+nXTmIG9lg5o=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -41,6 +41,10 @@ python3.pkgs.buildPythonApplication rec {
|
||||
# be extra defensive, but we don't want to deal with updating this
|
||||
sed -i 's/"poetry-core>=\([0-9.]*\),<=[0-9.]*"/"poetry-core>=\1"/' pyproject.toml
|
||||
sed -i 's/"setuptools_rust>=\([0-9.]*\),<=[0-9.]*"/"setuptools_rust>=\1"/' pyproject.toml
|
||||
|
||||
# Don't force pillow to be 10.0.1 because we already have patched it, and
|
||||
# we don't use the pillow wheels.
|
||||
sed -i 's/Pillow = ".*"/Pillow = ">=5.4.0"/' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user