Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 30 lines 677 B view raw
1{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }: 2 3buildPythonPackage rec { 4 pname = "telethon"; 5 version = "1.10.10"; 6 7 src = fetchPypi { 8 inherit version; 9 pname = "Telethon"; 10 sha256 = "0zm3577f1l5g0i0gcxr3s0nrqy0i81ppr6vp31p550vvnlnkjsqj"; 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}