2023-07-11 09:12:50 -06:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildGoModule,
|
|
|
|
fetchFromGitHub,
|
|
|
|
...
|
|
|
|
}:
|
2023-03-04 05:21:58 -07:00
|
|
|
with lib;
|
2023-07-11 09:12:50 -06:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "sliding-sync";
|
2023-09-01 07:24:18 -06:00
|
|
|
version = "0.99.8";
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = pname;
|
2023-09-01 07:24:18 -06:00
|
|
|
rev = "8e096656f58ffdc15ac5b08fc088eee1187a4a99";
|
|
|
|
hash = "sha256-4rYLHUlHbQ6KnxyXCCLqG4/zfXdZm4KZX1cOg5ITQPk=";
|
2023-07-11 09:12:50 -06:00
|
|
|
};
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-09-01 07:24:18 -06:00
|
|
|
vendorHash = "sha256-JYSpjAgIvQFpYmOTifRXHVB6bSrukqSVhmAAmHylPbQ=";
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
# Note: tests require a postgres install accessible to the current user
|
|
|
|
doCheck = false;
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-07-11 09:12:50 -06:00
|
|
|
meta = {
|
|
|
|
description = "An implementation of MSC3575";
|
|
|
|
homepage = "https://github.com/matrix-org/sliding-sync";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [qbit];
|
|
|
|
};
|
|
|
|
}
|