dotfiles/overlays/mautrix-slack.nix

37 lines
979 B
Nix
Raw Normal View History

# 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;
vendorHash = "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; [];
};
};
};
}