2021-05-20 23:08:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "matrix-dendrite";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.7.0";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "matrix-org";
|
|
|
|
repo = "dendrite";
|
|
|
|
rev = "v${version}";
|
2022-03-30 09:31:56 +00:00
|
|
|
sha256 = "sha256-R0xGsngNk8osBh3vRUeYxmEgbbNa+wKOihRjOU40D48=";
|
2021-05-03 20:48:10 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
vendorSha256 = "sha256-0Y/RVRWZ0osU/kEcf+Y8TH8K2rmxFmQSqMMNHoRIugo=";
|
2021-05-03 20:48:10 +00:00
|
|
|
|
2021-05-20 23:08:51 +00:00
|
|
|
passthru.tests = {
|
|
|
|
inherit (nixosTests) dendrite;
|
|
|
|
};
|
|
|
|
|
2021-05-03 20:48:10 +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;
|
|
|
|
};
|
|
|
|
}
|