cf3f6e7a7d
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
29 lines
658 B
Nix
29 lines
658 B
Nix
{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "telethon";
|
|
version = "1.17.5";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "Telethon";
|
|
sha256 = "1v1rgr030z8s1ldv5lm1811znyd568c22pmlrzzf3ls972xk514m";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
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 ];
|
|
};
|
|
}
|