forked from mirrors/nixpkgs
28 lines
680 B
Nix
28 lines
680 B
Nix
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
|
|
|
buildGoModule rec {
|
|
pname = "matrix-dendrite";
|
|
version = "0.6.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "matrix-org";
|
|
repo = "dendrite";
|
|
rev = "v${version}";
|
|
sha256 = "jSn2awZsfsniSOTNkaEdQw/sZm7nUfiMntsxigy/51Y=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-B4d3FGXy8TrED3oikTjETQso/AtEfIWWcdY6FykD/8A=";
|
|
|
|
passthru.tests = {
|
|
inherit (nixosTests) dendrite;
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|