Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 678 B view raw
1{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }: 2 3buildPythonPackage rec { 4 pname = "telethon"; 5 version = "1.14.0"; 6 7 src = fetchPypi { 8 inherit version; 9 pname = "Telethon"; 10 sha256 = "1fg12gcg6ca7rjh7m3g48m30cx4aaw5g09855nlyz2sa1kw3gfyq"; 11 }; 12 13 propagatedBuildInputs = [ 14 async_generator 15 rsa 16 pyaes 17 ]; 18 19 # No tests available 20 doCheck = false; 21 22 disabled = pythonOlder "3.5"; 23 24 meta = with lib; { 25 homepage = "https://github.com/LonamiWebs/Telethon"; 26 description = "Full-featured Telegram client library for Python 3"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ nyanloutre ]; 29 }; 30}