dotfiles/overlays/mautrix-slack.nix
magic_rb aff0158ef7
Reformat the whole flake using alejandra
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 22:17:03 +01:00

37 lines
981 B
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; [];
};
};
};
}