mautrix-telegram: 0.10.2 -> 0.11.0

Yureka 4713109c 6c1bb771

+12 -22
+7 -9
pkgs/servers/mautrix-telegram/0001-Re-add-entrypoint.patch
··· 8 8 1 file changed, 6 insertions(+) 9 9 10 10 diff --git a/setup.py b/setup.py 11 - index 068c351..95dbf89 100644 11 + index ea001e5..e1ca536 100644 12 12 --- a/setup.py 13 13 +++ b/setup.py 14 - @@ -51,6 +51,12 @@ setuptools.setup( 14 + @@ -54,6 +54,12 @@ setuptools.setup( 15 15 extras_require=extras_require, 16 - python_requires="~=3.6", 17 - 16 + python_requires="~=3.7", 17 + 18 18 + entry_points={ 19 19 + 'console_scripts': [ 20 20 + 'mautrix-telegram=mautrix_telegram.__main__:main' 21 21 + ] 22 22 + }, 23 23 + 24 - setup_requires=["pytest-runner"], 25 - tests_require=["pytest", "pytest-asyncio", "pytest-mock"], 26 - 27 - -- 28 - 2.28.0 24 + classifiers=[ 25 + "Development Status :: 4 - Beta", 26 + "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", 29 27
+5 -13
pkgs/servers/mautrix-telegram/default.nix
··· 5 5 let 6 6 python = python3.override { 7 7 packageOverrides = self: super: { 8 - sqlalchemy = super.sqlalchemy.overridePythonAttrs (oldAttrs: rec { 9 - version = "1.3.24"; 10 - src = oldAttrs.src.override { 11 - inherit version; 12 - sha256 = "ebbb777cbf9312359b897bf81ba00dae0f5cb69fba2a18265dcc18a6f5ef7519"; 13 - }; 14 - }); 15 - 16 8 tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { 17 - version = "1.24.0a2"; 9 + version = "1.25.0a1"; 18 10 pname = "tulir-telethon"; 19 11 src = oldAttrs.src.override { 20 12 inherit pname version; 21 - sha256 = "sha256-Qbx164FwC8nhesoY2fkaKvErN8g0Ph8vGcx+Cc1AqRg="; 13 + sha256 = "sha256-TFZRmhCrQ9IccGFcYxwdbD2ReSCWZ2n33S1ank1Bn1k="; 22 14 }; 23 15 }); 24 16 }; ··· 33 25 34 26 in python.pkgs.buildPythonPackage rec { 35 27 pname = "mautrix-telegram"; 36 - version = "0.10.2"; 28 + version = "0.11.0"; 37 29 disabled = python.pythonOlder "3.7"; 38 30 39 31 src = fetchFromGitHub { 40 32 owner = "mautrix"; 41 33 repo = "telegram"; 42 34 rev = "v${version}"; 43 - sha256 = "sha256-BYsGLyxhdjBVmnZXLC5ZjwDlWcHdUGp+DsNIOXA1/Tc="; 35 + sha256 = "sha256-s0UCl0FJWO53hvHJhpeSQVGCBKEH7COFLXFCFitpDjw="; 44 36 }; 45 37 46 - patches = [ ./0001-Re-add-entrypoint.patch ./0002-Don-t-depend-on-pytest-runner.patch ]; 38 + patches = [ ./0001-Re-add-entrypoint.patch ]; 47 39 postPatch = '' 48 40 sed -i -e '/alembic>/d' requirements.txt 49 41 substituteInPlace requirements.txt \