From 1a64deeb894dc95e2645a75771732c6cc53a79ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 4 Oct 2023 01:35:06 +0200 Subject: Squash changes containing private information There were a lot of changes since the previous commit, but a lot of them contained personnal information about users. All thos changes got stashed into a single commit (history is kept in a different place) and private information was moved in a separate private repository --- flakes/mypackages/pkgs/telethon_sync/default.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 flakes/mypackages/pkgs/telethon_sync/default.nix (limited to 'flakes/mypackages/pkgs/telethon_sync/default.nix') diff --git a/flakes/mypackages/pkgs/telethon_sync/default.nix b/flakes/mypackages/pkgs/telethon_sync/default.nix new file mode 100644 index 0000000..a03e1c3 --- /dev/null +++ b/flakes/mypackages/pkgs/telethon_sync/default.nix @@ -0,0 +1,24 @@ +{ lib, python3Packages, fetchgit }: +with python3Packages; +buildPythonPackage rec { + pname = "Telethon-sync"; + version = "1.1.1"; + + src = fetchgit { + url = "https://github.com/LonamiWebs/Telethon"; + branchName = "sync-stale"; + rev = "6a785a01aa56cfd21c8c5beb9d722c68d664ba5e"; + sha256 = "0g7gnln5kbh1gy6sfb3jg6knmi33n6sgzy2rni2x6af84lza0lgc"; + }; + + propagatedBuildInputs = [ + rsa pyaes async_generator + ]; + doCheck = false; + + meta = with lib; { + homepage = https://github.com/LonamiWebs/Telethon; + description = "Full-featured Telegram client library for Python 3"; + license = licenses.mit; + }; +} -- cgit v1.2.3