forked from mirrors/nixpkgs
31 lines
687 B
Nix
31 lines
687 B
Nix
{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "telethon";
|
|
version = "1.8.0";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "Telethon";
|
|
sha256 = "6e8f55cbe26a031d427f2c3e23d391b8c2272d1540bcb36fe4df65d928ca2b25";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|