2023-09-12 08:44:05 -06:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, ...
|
2023-07-11 09:12:50 -06:00
|
|
|
}:
|
2023-03-04 05:21:58 -07:00
|
|
|
with lib;
|
2023-09-12 08:44:05 -06:00
|
|
|
buildGoModule rec {
|
|
|
|
pname = "sliding-sync";
|
2024-05-23 13:34:04 -06:00
|
|
|
version = "0.99.18";
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-05-23 13:34:04 -06:00
|
|
|
hash = "sha256-zqqCgmzea25H1wcvgIb4hIV3maReL9tmNxvo9JsSlZk=";
|
2023-09-12 08:44:05 -06:00
|
|
|
};
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-12-04 07:54:04 -07:00
|
|
|
vendorHash = "sha256-THjvc0TepIBFOTte7t63Dmadf3HMuZ9m0YzQMI5e5Pw=";
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
# Note: tests require a postgres install accessible to the current user
|
|
|
|
doCheck = false;
|
2023-03-04 05:21:58 -07:00
|
|
|
|
2023-09-12 08:44:05 -06:00
|
|
|
meta = {
|
|
|
|
description = "An implementation of MSC3575";
|
|
|
|
homepage = "https://github.com/matrix-org/sliding-sync";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
};
|
|
|
|
}
|