15 buildPythonPackage rec {
20 disabled = pythonOlder "3.5";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 hash = "sha256-P7FP+Wqi3dqbBCFpI9aCDvK4k3mWv8076RO6MXg+jFQ=";
30 substituteInPlace telethon/crypto/libssl.py --replace-fail \
31 "ctypes.util.find_library('ssl')" "'${lib.getLib openssl}/lib/libssl.so'"
43 optional-dependencies = {
53 # https://github.com/LonamiWebs/Telethon/issues/4254
54 "test_all_methods_present"
55 "test_private_get_extension"
59 homepage = "https://github.com/LonamiWebs/Telethon";
60 description = "Full-featured Telegram client library for Python 3";
61 license = lib.licenses.mit;
62 maintainers = with lib.maintainers; [ nyanloutre ];