depot/third_party/nixpkgs/pkgs/development/python-modules/telethon/default.nix

31 lines
678 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }:
buildPythonPackage rec {
pname = "telethon";
version = "1.14.0";
src = fetchPypi {
inherit version;
pname = "Telethon";
sha256 = "1fg12gcg6ca7rjh7m3g48m30cx4aaw5g09855nlyz2sa1kw3gfyq";
};
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 ];
};
}