mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
31 lines
677 B
Nix
31 lines
677 B
Nix
{ lib, buildPythonPackage, fetchPypi, async_generator, rsa, pyaes, pythonOlder }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "telethon";
|
|
version = "1.10.10";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "Telethon";
|
|
sha256 = "0zm3577f1l5g0i0gcxr3s0nrqy0i81ppr6vp31p550vvnlnkjsqj";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|