22 buildPythonPackage rec {
23 pname = "python-telegram-bot";
27 disabled = pythonOlder "3.8";
29 src = fetchFromGitHub {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-t6yHl2uNdGaTLdbQTXp3+zds2pab4T6Pe69mu31HahA=";
41 propagatedBuildInputs = [
49 ++ httpx.optional-dependencies.socks
50 ++ httpx.optional-dependencies.http2;
62 pythonImportsCheck = [
67 # Tests require network access
76 "TestChosenInlineResult"
80 "TestConversationHandler"
128 description = "Python library to interface with the Telegram Bot API";
129 homepage = "https://python-telegram-bot.org";
130 changelog = "https://github.com/python-telegram-bot/python-telegram-bot/blob/v${version}/CHANGES.rst";
131 license = licenses.lgpl3Only;
132 maintainers = with maintainers; [ veprbl pingiun ];