13 buildPythonPackage rec {
17 disabled = pythonOlder "3.5";
19 src = fetchFromGitHub {
22 rev = "refs/tags/v${version}";
23 hash = "sha256-xmFoCUqYo600RH72KWG/aM7hKGiTYdCBsbPOFipxIzA=";
27 substituteInPlace telethon/crypto/libssl.py --replace \
28 "ctypes.util.find_library('ssl')" "'${lib.getLib openssl}/lib/libssl.so'"
35 propagatedBuildInputs = [
50 homepage = "https://github.com/LonamiWebs/Telethon";
51 description = "Full-featured Telegram client library for Python 3";
52 license = licenses.mit;
53 maintainers = with maintainers; [ nyanloutre ];