1{ lib 2, buildPythonPackage 3, fetchPypi 4, aiohttp 5, requests 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pyTelegramBotAPI"; 11 version = "4.7.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-sVu518B+PDSpW6MhYtNWkPpwuT471VfGuDDtpL7Mo/U="; 19 }; 20 21 propagatedBuildInputs = [ 22 aiohttp 23 requests 24 ]; 25 26 pythonImportsCheck = [ 27 "telebot" 28 ]; 29 30 meta = with lib; { 31 homepage = "https://github.com/eternnoir/pyTelegramBotAPI"; 32 description = "A simple, but extensible Python implementation for the Telegram Bot API"; 33 license = licenses.gpl2Only; 34 maintainers = with maintainers; [ das_j ]; 35 }; 36}