From 1d76b19de46f6d864e36431d7a3bdead06fdc432 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sat, 13 Nov 2021 16:00:17 +0100 Subject: [PATCH] mautrix-telegram: 0.10.1 -> 0.10.2 ChangeLog: https://github.com/mautrix/telegram/releases/tag/v0.10.2 --- pkgs/servers/mautrix-telegram/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/mautrix-telegram/default.nix b/pkgs/servers/mautrix-telegram/default.nix index 87c13e972f5d..60bbfe9e08cb 100644 --- a/pkgs/servers/mautrix-telegram/default.nix +++ b/pkgs/servers/mautrix-telegram/default.nix @@ -12,25 +12,35 @@ let sha256 = "ebbb777cbf9312359b897bf81ba00dae0f5cb69fba2a18265dcc18a6f5ef7519"; }; }); + + tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { + version = "1.24.0a2"; + pname = "tulir-telethon"; + src = oldAttrs.src.override { + inherit pname version; + sha256 = "sha256-Qbx164FwC8nhesoY2fkaKvErN8g0Ph8vGcx+Cc1AqRg="; + }; + }); }; }; # officially supported database drivers dbDrivers = with python.pkgs; [ psycopg2 + aiosqlite # sqlite driver is already shipped with python by default ]; in python.pkgs.buildPythonPackage rec { pname = "mautrix-telegram"; - version = "0.10.1"; + version = "0.10.2"; disabled = python.pythonOlder "3.7"; src = fetchFromGitHub { owner = "tulir"; repo = pname; rev = "v${version}"; - sha256 = "sha256-1Dmc7WRlT2ivGkdrGDC1b44DE0ovQKfUR0gDiQE4h5c="; + sha256 = "sha256-BYsGLyxhdjBVmnZXLC5ZjwDlWcHdUGp+DsNIOXA1/Tc="; }; patches = [ ./0001-Re-add-entrypoint.patch ./0002-Don-t-depend-on-pytest-runner.patch ]; @@ -49,7 +59,7 @@ in python.pkgs.buildPythonPackage rec { CommonMark ruamel_yaml python_magic - telethon + tulir-telethon telethon-session-sqlalchemy pillow lxml