2023-02-02 09:47:29 -07:00
|
|
|
let
|
2024-02-21 07:16:50 -07:00
|
|
|
hash = "sha256-QOU539tMpAi/WIbDOF4u2L7OJ3Wk3tkGqmPbMe91pk8=";
|
|
|
|
sha256 = "sha256-vl1ouJsHcclOZlQ+s959bh8Qn0I/d0B/XYP+Lmdi4fg=";
|
2024-02-21 08:27:35 -07:00
|
|
|
matrix-synapse-unwrapped = _: super: {
|
|
|
|
matrix-synapse-unwrapped = super.matrix-synapse-unwrapped.overrideAttrs (_: rec {
|
2024-02-21 07:16:50 -07:00
|
|
|
version = "1.102.0rc1";
|
2023-02-02 09:47:29 -07:00
|
|
|
pname = "matrix-synapse";
|
|
|
|
|
|
|
|
src = super.fetchFromGitHub {
|
2024-02-02 10:43:26 -07:00
|
|
|
owner = "element-hq";
|
2023-02-02 09:47:29 -07:00
|
|
|
repo = "synapse";
|
|
|
|
rev = "v${version}";
|
2023-07-18 20:24:12 -06:00
|
|
|
inherit hash;
|
2023-02-02 09:47:29 -07:00
|
|
|
};
|
|
|
|
|
2024-02-23 08:17:13 -07:00
|
|
|
patches = [
|
|
|
|
(super.fetchpatch {
|
|
|
|
url = "https://github.com/element-hq/synapse/pull/16954.patch";
|
|
|
|
sha256 = "sha256-/hm4yKAGw30Z903v4TBDuO+AmxNOMKMK8VtNPegW/VA=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2023-02-02 09:47:29 -07:00
|
|
|
cargoDeps = super.rustPlatform.fetchCargoTarball {
|
2023-07-18 20:24:12 -06:00
|
|
|
inherit src sha256;
|
2023-02-02 09:47:29 -07:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
};
|
2023-07-11 09:12:50 -06:00
|
|
|
in
|
2024-02-21 08:27:35 -07:00
|
|
|
matrix-synapse-unwrapped
|