feat: add mautrix mattermost
This commit is contained in:
parent
7882b04089
commit
d725df2606
7 changed files with 570 additions and 42 deletions
30
utils/pkgs/mautrix-mattermost/default.nix
Normal file
30
utils/pkgs/mautrix-mattermost/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, buildGo126Module, fetchFromGitHub, olm }:
|
||||
|
||||
buildGo126Module rec {
|
||||
pname = "mautrix-mattermost";
|
||||
version = "0-unstable-2026-03-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bostrot";
|
||||
repo = "mautrix-mattermost";
|
||||
rev = "f7996f0e4acd68b24f2a1a88961712682b6017a5";
|
||||
hash = "sha256-J8CJd0tsTLHJRyRVP8fVnzsCS5VV9iXr1epA6P2Qec4=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-r4mmSEzx/oSv0OutLuXe7LwODUJaSwuQ/CNFZNqw5+c=";
|
||||
|
||||
buildInputs = [ olm ];
|
||||
|
||||
# Disable CGO except for olm
|
||||
env.CGO_ENABLED = 1;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Matrix-Mattermost puppeting bridge based on mautrix-go";
|
||||
homepage = "https://github.com/bostrot/mautrix-mattermost";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = [ ];
|
||||
mainProgram = "mautrix-mattermost";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue