diff options
Diffstat (limited to 'pkgs/telethon_sync/default.nix')
-rw-r--r-- | pkgs/telethon_sync/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/telethon_sync/default.nix b/pkgs/telethon_sync/default.nix new file mode 100644 index 0000000..aa58d5b --- /dev/null +++ b/pkgs/telethon_sync/default.nix | |||
@@ -0,0 +1,23 @@ | |||
1 | { lib, python3Packages }: | ||
2 | with python3Packages; | ||
3 | buildPythonPackage rec { | ||
4 | pname = "Telethon-sync"; | ||
5 | version = "1.1.1"; | ||
6 | |||
7 | src = fetchPypi { | ||
8 | inherit pname version; | ||
9 | sha256 = | ||
10 | "01z8fzqn0qs5pxhvzq891r3mwffq1ga3f8xvm7qdn6kvmxjni9fy"; | ||
11 | }; | ||
12 | |||
13 | propagatedBuildInputs = [ | ||
14 | rsa pyaes async_generator | ||
15 | ]; | ||
16 | doCheck = false; | ||
17 | |||
18 | meta = with lib; { | ||
19 | homepage = https://github.com/LonamiWebs/Telethon; | ||
20 | description = "Full-featured Telegram client library for Python 3"; | ||
21 | license = licenses.mit; | ||
22 | }; | ||
23 | } | ||