2023-11-18 16:00:30 +01:00
|
|
|
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
2024-03-02 22:05:30 +01:00
|
|
|
{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";
|
2023-11-18 16:00:30 +01:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "mautrix";
|
|
|
|
repo = "slack";
|
|
|
|
rev = "4530ff397d08d93b673cd71da4c2a75d969ca0df";
|
|
|
|
hash = "sha256-zq5Qzdw6MhBJDMmi2SWHTEyOghpfLiQOEf0e2Fn+ww8=";
|
|
|
|
};
|
2023-11-18 16:00:30 +01:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
buildInputs = singleton prev.olm;
|
2023-11-18 16:00:30 +01:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
vendorSha256 = "sha256-Adfz6mHYa22OqEZZHrvst31XdZFo7LuxQI20whq3Zes=";
|
2023-11-18 16:00:30 +01:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
doCheck = false;
|
2023-11-18 16:00:30 +01:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
meta = with prev.lib; {
|
|
|
|
homepage = "https://github.com/tulir/mautrix-slack";
|
|
|
|
description = "Matrix <-> Slack hybrid puppeting/relaybot bridge";
|
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [];
|
|
|
|
};
|
2023-11-18 16:00:30 +01:00
|
|
|
};
|
2024-03-02 22:05:30 +01:00
|
|
|
};
|
2023-11-18 16:00:30 +01:00
|
|
|
}
|