pythonPackages.telethon: init at 1.5.4

This commit is contained in:
nyanloutre 2019-01-29 14:45:21 +01:00
parent 7993fa60b8
commit 351256a9df
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }:
buildPythonPackage rec {
pname = "telethon";
version = "1.5.4";
src = fetchPypi {
inherit version;
pname = "Telethon";
sha256 = "52cb4929bf37c98ab5f3e173325dbb3cb9c1ca3f4fe6ba87d35c43e2f98858ce";
};
propagatedBuildInputs = [
async_generator
rsa
pyaes
];
# No tests available
doCheck = false;
disabled = pythonOlder "3.5";
meta = with lib; {
homepage = https://github.com/LonamiWebs/Telethon;
description = "Full-featured Telegram client library for Python 3";
license = licenses.mit;
maintainers = with maintainers; [ nyanloutre ];
};
}

View file

@ -4415,6 +4415,8 @@ in {
taskw = callPackage ../development/python-modules/taskw { };
telethon = callPackage ../development/python-modules/telethon { };
terminaltables = callPackage ../development/python-modules/terminaltables { };
testpath = callPackage ../development/python-modules/testpath { };