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-02-28 15:04:06 -07:00
version = "1.78.0";
pname = "matrix-synapse";
src = super.fetchFromGitHub {
owner = "matrix-org";
repo = "synapse";
rev = "v${version}";
2023-02-28 15:04:06 -07:00
hash = "sha256-UMP/JQ77qGfAQ+adLBLB8NFI2OiuwjILEbEecEDcK1A=";
};
cargoDeps = super.rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
2023-02-28 15:04:06 -07:00
sha256 = "sha256-UTuMvTWfOlFlL+4qsCEfVljnkeylBKq0wd5FlAOYAFQ=";
};
});
};
in matrix-synapse