2023-03-04 05:21:58 -07:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, ... }:
|
|
|
|
with lib;
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "sliding-sync";
|
2023-04-27 07:32:56 -06:00
|
|
|
version = "0.99.2";
|
2023-03-04 05:21:58 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-04-27 07:32:56 -06:00
|
|
|
hash = "sha256-QbTCr1dsJX8nlLE3PhevBbLv1dnvLTMkOiKgTeThlKw=";
|
2023-03-04 05:21:58 -07:00
|
|
|
};
|
|
|
|
|
2023-04-27 07:32:56 -06:00
|
|
|
vendorHash = "sha256-EIFUuWwpNUtWy6lSNeIEwe3gjyb3yq/WRJEND9YhQjs=";
|
2023-03-04 05:21:58 -07:00
|
|
|
|
|
|
|
# Note: tests require a postgres install accessible to the current user
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An implementation of MSC3575";
|
|
|
|
homepage = "https://github.com/matrix-org/sliding-sync";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
};
|
|
|
|
}
|