9 python = python3.override {
10 packageOverrides = self: super: {
11 tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec {
13 pname = "tulir-telethon";
15 inherit pname version;
16 hash = "sha256-FckMHqGaBsqvFbrEnDWqJAQG8j/euY2NooesnxV6Kcc=";
23 python.pkgs.buildPythonPackage rec {
24 pname = "mautrix-telegram";
26 disabled = python.pythonOlder "3.8";
28 src = fetchFromGitHub {
31 rev = "refs/tags/v${version}";
32 hash = "sha256-uR0vhp7ONyjwMKbgM1iObpFRoQzyQzJLbw4i9P58jTs=";
35 format = "setuptools";
37 patches = [ ./0001-Re-add-entrypoint.patch ];
39 propagatedBuildInputs = with python.pkgs; ([
65 ] ++ lib.optionals withE2BE [
76 homepage = "https://github.com/mautrix/telegram";
77 description = "Matrix-Telegram hybrid puppeting/relaybot bridge";
78 license = licenses.agpl3Plus;
79 platforms = platforms.linux;
80 maintainers = with maintainers; [ nyanloutre ma27 nickcao ];
81 mainProgram = "mautrix-telegram";