matrix-corporal: init at 2.0.1 (#99074)

* matrix-corporal: init at 2.0.1

* Update pkgs/servers/matrix-corporal/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Daniel Løvbrøtte Olsen 2021-01-18 00:29:28 +01:00 committed by GitHub
parent 4ae325df93
commit 40952628a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "matrix-corporal";
version = "2.0.1";
src = fetchFromGitHub {
owner = "devture";
repo = pname;
rev = version;
sha256 = "1n8yjmy3j0spgwpxgc26adhpl52fm3d2xbmkf5n9dwzw29grv68r";
};
buildFlagsArray = [
"-ldflags=-s -w -X main.GitCommit=${version} -X main.GitBranch=${version} -X main.GitState=nixpkgs -X main.GitSummary=${version} -X main.Version=${version}"
];
vendorSha256 = "1gi6mff6h0fkgfq5yybd1qcy2qwrvc4kzi11x7arfl9nr0d24rb2";
meta = with lib; {
homepage = "https://github.com/devture/matrix-corporal";
description = "Reconciliator and gateway for a managed Matrix server";
maintainers = with maintainers; [ dandellion ];
license = licenses.agpl3Only;
};
}

View file

@ -5590,6 +5590,8 @@ in
matrix-appservice-discord = callPackage ../servers/matrix-appservice-discord { };
matrix-corporal = callPackage ../servers/matrix-corporal { };
mautrix-telegram = recurseIntoAttrs (callPackage ../servers/mautrix-telegram { });
mautrix-whatsapp = callPackage ../servers/mautrix-whatsapp { };