2023-06-13 23:01:25 +02: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-discord = final: prev: let
|
|
|
|
inherit
|
|
|
|
(prev.lib)
|
|
|
|
singleton
|
|
|
|
;
|
|
|
|
in {
|
|
|
|
mautrix-discord = prev.buildGoModule rec {
|
|
|
|
pname = "mautrix-discord";
|
|
|
|
version = "0.6.3";
|
2023-06-13 23:01:25 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
src = prev.fetchFromGitHub {
|
|
|
|
owner = "mautrix";
|
|
|
|
repo = "discord";
|
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-hksnD1RWK83JjVIZsKeK8bQobNmzIbm9drgU0VjiqLs=";
|
|
|
|
};
|
2023-06-13 23:01:25 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
buildInputs = singleton prev.olm;
|
2023-06-13 23:01:25 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
vendorSha256 = "sha256-+dmlJZPc2Tw9G64MeLPY5Rgml3UKEqAtgGI1ImRvMBU=";
|
2023-06-13 23:01:25 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
doCheck = false;
|
2023-06-13 23:01:25 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
meta = with prev.lib; {
|
|
|
|
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
|
|
|
description = "Matrix <-> Discord hybrid puppeting/relaybot bridge";
|
|
|
|
license = licenses.agpl3Plus;
|
|
|
|
maintainers = with maintainers; [];
|
|
|
|
};
|
2023-06-13 23:01:25 +02:00
|
|
|
};
|
2024-03-02 22:05:30 +01:00
|
|
|
};
|
2023-06-13 23:01:25 +02:00
|
|
|
}
|