xin/overlays/matrix-synapse.nix

24 lines
647 B
Nix
Raw Normal View History

let
hash = "sha256-NwHX4pOM2PUf2MldaPTOzP9gOcTmILxM1Sx2HPkLBcw=";
sha256 = "sha256-AyV0JPPJkJ4jdaw0FUXPqGF3Qkce1+RK70FkXAw+bLA=";
matrix-synapse-unwrapped = _: super: {
matrix-synapse-unwrapped = super.matrix-synapse-unwrapped.overrideAttrs (_: rec {
version = "1.103.0";
pname = "matrix-synapse";
src = super.fetchFromGitHub {
owner = "element-hq";
repo = "synapse";
rev = "v${version}";
inherit hash;
};
cargoDeps = super.rustPlatform.fetchCargoTarball {
inherit src sha256;
name = "${pname}-${version}";
};
});
};
2023-07-11 09:12:50 -06:00
in
matrix-synapse-unwrapped