nixpkgs/pkgs/servers/dendrite/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
687 B
Nix
Raw Normal View History

2021-05-14 13:11:22 +02:00
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2021-01-16 19:06:05 +01:00
buildGoModule rec {
pname = "matrix-dendrite";
2022-04-07 18:48:25 +02:00
version = "0.8.1";
2021-01-16 19:06:05 +01:00
src = fetchFromGitHub {
owner = "matrix-org";
repo = "dendrite";
rev = "v${version}";
2022-04-07 18:48:25 +02:00
sha256 = "sha256-cEqedl6iVt/HZEh1zeEcqby8gfJEcqIDEQnPewyErMI=";
2021-01-16 19:06:05 +01:00
};
2022-04-07 18:48:25 +02:00
vendorSha256 = "sha256-nQx+PyjRvECeIerZ9jq7YMTSS8LfohY7NgK8DklREQQ=";
2021-01-16 19:06:05 +01:00
2021-05-14 13:11:22 +02:00
passthru.tests = {
inherit (nixosTests) dendrite;
};
2021-01-16 19:06:05 +01: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;
};
}