Unverified Commit 928d8418 authored by Maximilian Bosch's avatar Maximilian Bosch Committed by GitHub
Browse files

[Backport release-25.11] matrix-synapse: 1.142.1 -> 1.143.0 (#466494)

parents 05e38dcb f6c38cc8
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -14,25 +14,25 @@

python3Packages.buildPythonApplication rec {
  pname = "matrix-synapse";
  version = "1.142.1";
  version = "1.143.0";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "element-hq";
    repo = "synapse";
    rev = "v${version}";
    hash = "sha256-U/o7Ld9MjVO/QIIy+UyltfieR4CAdfN6dR6WWINoW40=";
    hash = "sha256-Ik80yX2dYG1gyka/zlrQ4vTCzqt1nhBoX/OcLYSNN1w=";
  };

  cargoDeps = rustPlatform.fetchCargoVendor {
    inherit pname version src;
    hash = "sha256-lGj66FmHSldaYRGx7QQE/cdrmy+43AL3MZP+DPOXMmQ=";
    hash = "sha256-6jsOGcUAamyQyIcuDZiZGxEGPSwDpYcQkfvPjaHEKjA=";
  };

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace-fail "setuptools_rust>=1.3,<=1.11.1" "setuptools_rust<=1.12,>=1.3" \
      --replace-fail "poetry-core>=1.1.0,<=2.1.3" "poetry-core>=1.1.0,<=2.3.0"
      --replace-fail "poetry-core>=2.0.0,<=2.1.3" "poetry-core>=2.0.0,<=2.3.0"
  '';

  build-system = with python3Packages; [