xin/pkgs/sliding-sync.nix

30 lines
666 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
, ...
}:
with lib;
buildGoModule rec {
pname = "sliding-sync";
version = "0.99.11";
src = fetchFromGitHub {
owner = "matrix-org";
repo = pname;
rev = "v${version}";
hash = "sha256-Wd/nnJhKg+BDyOIz42zEScjzQRrpEq6YG9/9Tk24hgg=";
};
vendorHash = "sha256-0QSyYhOht1j1tWNxHQh+NUZA/W1xy7ANu+29H/gusOE=";
# 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 ];
};
}