nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule {
8 pname = "matterbridge";
9 version = "1.26.0-unstable-2024-08-27";
10
11 src = fetchFromGitHub {
12 owner = "42wim";
13 repo = "matterbridge";
14 rev = "c4157a4d5b49fce79c80a30730dc7c404bacd663";
15 hash = "sha256-ZnNVDlrkZd/I0NWmQMZzJ3RIruH0ARoVKJ4EyYVdMiw=";
16 };
17
18 subPackages = [ "." ];
19
20 vendorHash = null;
21
22 meta = {
23 description = "Simple bridge between Mattermost, IRC, XMPP, Gitter, Slack, Discord, Telegram, Rocket.Chat, Hipchat(via xmpp), Matrix and Steam";
24 homepage = "https://github.com/42wim/matterbridge";
25 license = with lib.licenses; [ asl20 ];
26 maintainers = with lib.maintainers; [ ryantm ];
27 mainProgram = "matterbridge";
28 };
29}