Merge pull request #119140 from fabaff/bump-python-telegram-bot

python3Packages.python-telegram-bot: 13.3 -> 13.4.1

authored by

Sandro and committed by
GitHub
f52f1109 aabba682

+16 -10
+16 -10
pkgs/development/python-modules/python-telegram-bot/default.nix
··· 1 { lib 2 - , fetchPypi 3 , buildPythonPackage 4 , certifi 5 , decorator 6 , future 7 - , urllib3 8 , tornado 9 - , pytest 10 - , APScheduler 11 - , isPy3k 12 }: 13 14 buildPythonPackage rec { 15 pname = "python-telegram-bot"; 16 - version = "13.3"; 17 disabled = !isPy3k; 18 19 src = fetchPypi { 20 inherit pname version; 21 - hash = "sha256-dw1sGfdeUw3n9qh4TsBpRdqEvNI0SnKTK4wqBaeM1CE="; 22 }; 23 24 - checkInputs = [ pytest ]; 25 - propagatedBuildInputs = [ certifi future urllib3 tornado decorator APScheduler ]; 26 27 # --with-upstream-urllib3 is not working properly 28 postPatch = '' ··· 31 substituteInPlace requirements.txt \ 32 --replace 'APScheduler==3.6.3' 'APScheduler' 33 ''; 34 setupPyGlobalFlags = "--with-upstream-urllib3"; 35 36 # tests not included with release ··· 38 pythonImportsCheck = [ "telegram" ]; 39 40 meta = with lib; { 41 - description = "This library provides a pure Python interface for the Telegram Bot API."; 42 homepage = "https://python-telegram-bot.org"; 43 license = licenses.lgpl3Only; 44 maintainers = with maintainers; [ veprbl pingiun ];
··· 1 { lib 2 + , APScheduler 3 , buildPythonPackage 4 , certifi 5 , decorator 6 + , fetchPypi 7 , future 8 + , isPy3k 9 , tornado 10 + , urllib3 11 }: 12 13 buildPythonPackage rec { 14 pname = "python-telegram-bot"; 15 + version = "13.4.1"; 16 disabled = !isPy3k; 17 18 src = fetchPypi { 19 inherit pname version; 20 + sha256 = "141w3701jjl460702xddqvi3hswp24jnkl6cakvz2aqrmcyxq7sc"; 21 }; 22 23 + propagatedBuildInputs = [ 24 + APScheduler 25 + certifi 26 + decorator 27 + future 28 + tornado 29 + urllib3 30 + ]; 31 32 # --with-upstream-urllib3 is not working properly 33 postPatch = '' ··· 36 substituteInPlace requirements.txt \ 37 --replace 'APScheduler==3.6.3' 'APScheduler' 38 ''; 39 + 40 setupPyGlobalFlags = "--with-upstream-urllib3"; 41 42 # tests not included with release ··· 44 pythonImportsCheck = [ "telegram" ]; 45 46 meta = with lib; { 47 + description = "Python library to interface with the Telegram Bot API"; 48 homepage = "https://python-telegram-bot.org"; 49 license = licenses.lgpl3Only; 50 maintainers = with maintainers; [ veprbl pingiun ];