xin/overlays/matrix-synapse.nix

23 lines
595 B
Nix
Raw Normal View History

let
matrix-synapse = self: super: {
matrix-synapse = super.matrix-synapse.overrideAttrs (old: rec {
2023-03-14 11:17:10 -06:00
version = "1.79.0";
pname = "matrix-synapse";
src = super.fetchFromGitHub {
owner = "matrix-org";
repo = "synapse";
rev = "v${version}";
2023-03-14 11:17:10 -06:00
hash = "sha256-2MHP4Gu+C5yyXObbd7NLYWCy1E0L7fUwpzYsoD7ULDo=";
};
cargoDeps = super.rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
2023-03-14 11:17:10 -06:00
sha256 = "sha256-yDKs6KRStjJMC/48dZcyQ4OmBXY1TombjH/ZDfBJbSc=";
};
});
};
in matrix-synapse