1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
tgcMaintainers,
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "mautrix-telegramgo";
version = "0.0.0-${builtins.substring 0 6 finalAttrs.rev}";
rev = "52b237352837c4ddaa4d2cecd3bd84c37dedeaf0";
srcHash = "sha256-4tlidsxK3MCc42vlK2BPrGjlroCXE1Ojs89bbNwr4Ms=";
vendorHash = "sha256-5C0Jy0Y+BAV8wfPME3/79M16QFUsmUT+4A6Zug5VMEQ=";
src = fetchFromGitHub {
owner = "mautrix";
repo = "telegramgo";
hash = finalAttrs.srcHash;
inherit (finalAttrs) rev;
};
tags = [ "goolm" ];
doCheck = false;
meta = {
homepage = "https://github.com/mautrix/telegramgo";
description = "Go rewrite of mautrix-telegram";
license = lib.licenses.agpl3Plus;
maintainers = [ tgcMaintainers.zaphyra ];
mainProgram = "mautrix-telegram";
};
})