13 buildPythonPackage rec {
14 pname = "python-telegram-bot";
19 inherit pname version;
20 sha256 = "141w3701jjl460702xddqvi3hswp24jnkl6cakvz2aqrmcyxq7sc";
23 propagatedBuildInputs = [
32 # --with-upstream-urllib3 is not working properly
36 substituteInPlace requirements.txt \
37 --replace 'APScheduler==3.6.3' 'APScheduler'
40 setupPyGlobalFlags = "--with-upstream-urllib3";
42 # tests not included with release
44 pythonImportsCheck = [ "telegram" ];
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 ];