mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-11 09:22:02 +01:00
37533e3e89
Signed-off-by: magic_rb <magic_rb@redalder.org>
36 lines
963 B
Nix
36 lines
963 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{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";
|
|
|
|
src = prev.fetchFromGitHub {
|
|
owner = "mautrix";
|
|
repo = "discord";
|
|
rev = "v${version}";
|
|
hash = "sha256-hksnD1RWK83JjVIZsKeK8bQobNmzIbm9drgU0VjiqLs=";
|
|
};
|
|
|
|
buildInputs = singleton prev.olm;
|
|
|
|
vendorHash = "sha256-+dmlJZPc2Tw9G64MeLPY5Rgml3UKEqAtgGI1ImRvMBU=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with prev.lib; {
|
|
homepage = "https://github.com/tulir/mautrix-whatsapp";
|
|
description = "Matrix <-> Discord hybrid puppeting/relaybot bridge";
|
|
license = licenses.agpl3Plus;
|
|
maintainers = with maintainers; [];
|
|
};
|
|
};
|
|
};
|
|
}
|