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