2021-05-14 12:11:22 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2021-01-16 18:06:05 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "matrix-dendrite";
|
2021-11-20 20:38:11 +00:00
|
|
|
version = "0.5.1";
|
2021-01-16 18:06:05 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = "dendrite";
|
|
|
|
rev = "v${version}";
|
2021-11-20 20:38:11 +00:00
|
|
|
sha256 = "1HCVWSxXOR2syN+dLDSvrNzYHTj/vXZRHkXhU0f3m1k=";
|
2021-01-16 18:06:05 +00:00
|
|
|
};
|
|
|
|
|
2021-11-20 20:38:11 +00:00
|
|
|
vendorSha256 = "sha256-RqEt0RAsKWKy6NvMzulqY56nZ7fIxgJkgN/WpEZ3F2I=";
|
2021-01-16 18:06:05 +00:00
|
|
|
|
2021-05-14 12:11:22 +01:00
|
|
|
passthru.tests = {
|
|
|
|
inherit (nixosTests) dendrite;
|
|
|
|
};
|
|
|
|
|
2021-01-16 18:06:05 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://matrix.org";
|
|
|
|
description = "Dendrite is a second-generation Matrix homeserver written in Go!";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = teams.matrix.members;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|