nixpkgs/pkgs/servers/matterbridge/default.nix
2022-05-17 13:49:01 +08:00

24 lines
652 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "matterbridge";
version = "1.25.1";
src = fetchFromGitHub {
owner = "42wim";
repo = pname;
rev = "v${version}";
sha256 = "sha256-mJEOYtQe+CHh73ev7+cdghxZHPTEGxvKgJbVoefK4Q0=";
};
vendorSha256 = null;
meta = with lib; {
description = "Simple bridge between Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, Rocket.Chat, Hipchat(via xmpp), Matrix and Steam";
homepage = "https://github.com/42wim/matterbridge";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ ryantm ];
platforms = platforms.unix;
};
}