dotfiles/overlays/mautrix-slack.nix
magic_rb d59e96181b
Add Mautrix Slack bridge
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-11-18 18:35:47 +01:00

40 lines
1 KiB
Nix

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{ inputs, ... }:
{
flake.overlays.mautrix-slack =
final: prev:
let
inherit (prev.lib)
singleton;
in
{
mautrix-slack =
prev.buildGoModule rec {
pname = "mautrix-slack";
version = "0.6.3";
src = prev.fetchFromGitHub {
owner = "mautrix";
repo = "slack";
rev = "4530ff397d08d93b673cd71da4c2a75d969ca0df";
hash = "sha256-zq5Qzdw6MhBJDMmi2SWHTEyOghpfLiQOEf0e2Fn+ww8=";
};
buildInputs = singleton prev.olm;
vendorSha256 = "sha256-Adfz6mHYa22OqEZZHrvst31XdZFo7LuxQI20whq3Zes=";
doCheck = false;
meta = with prev.lib; {
homepage = "https://github.com/tulir/mautrix-slack";
description = "Matrix <-> Slack hybrid puppeting/relaybot bridge";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ ];
};
};
};
}