2019-01-29 13:45:21 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "telethon";
|
2019-03-11 22:46:03 +00:00
|
|
|
version = "1.6.2";
|
2019-01-29 13:45:21 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit version;
|
|
|
|
pname = "Telethon";
|
2019-03-11 22:46:03 +00:00
|
|
|
sha256 = "074h5gj0c330rb1nxzpqm31fp1vw7calh1cdkapbjx90j769iz18";
|
2019-01-29 13:45:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|