matrix-sliding-sync: init at 0.99.3

This commit is contained in:
Sandro Jäckel 2023-07-02 23:44:36 +02:00
parent c4ca94c154
commit fe01e756ec
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "matrix-sliding-sync";
version = "0.99.3";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "sliding-sync";
rev = "v${version}";
hash = "sha256-lmmOq0gkvrIXQmy3rbTga0cC85t0LWjDOqrH1NWUpdA=";
};
vendorHash = "sha256-447P2TbBUEHmHubHiiZCrFVCj2/tmEuYFzLo27UyCk4=";
subPackages = [ "cmd/syncv3" ];
ldflags = [
"-s"
"-w"
"-X main.GitCommit=${src.rev}"
];
# requires a running matrix-synapse
doCheck = false;
meta = with lib; {
description = "A sliding sync implementation of MSC3575 for matrix";
homepage = "https://github.com/matrix-org/sliding-sync";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ SuperSandro2000 emilylange ];
mainProgram = "syncv3";
};
}

View file

@ -9544,6 +9544,8 @@ with pkgs;
matrix-conduit = callPackage ../servers/matrix-conduit { };
matrix-sliding-sync = callPackage ../servers/matrix-synapse/sliding-sync { };
matrix-synapse = callPackage ../servers/matrix-synapse { };
matrix-synapse-plugins = recurseIntoAttrs matrix-synapse.plugins;