nixpkgs/pkgs/servers/matterbridge/default.nix
2018-02-16 09:14:16 -08:00

22 lines
700 B
Nix

{ stdenv, buildGoPackage, fetchurl }:
buildGoPackage rec {
name = "matterbridge-${version}";
version = "1.7.1";
goPackagePath = "github.com/42wim/matterbridge";
src = fetchurl {
url = "https://github.com/42wim/matterbridge/archive/v${version}.tar.gz";
sha256 = "0ajc7xswmwhc2xn937sv3b76s8hblfn9x9rj5825hi3d3s8zqq88";
};
meta = with stdenv.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;
};
}