nixpkgs/pkgs/servers/matterbridge/default.nix
2022-12-12 22:55:06 +01:00

25 lines
678 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "matterbridge";
version = "1.25.2";
src = fetchFromGitHub {
owner = "42wim";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VqVrAmbKTfDhcvgayEE1wUeFBSTGczBrntIJQ5/uWzM=";
};
subPackages = [ "." ];
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;
};
}