diff options
author | Sebastián Mancilla <238528+smancill@users.noreply.github.com> | 2022-08-12 13:38:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 13:38:55 -0400 |
commit | 10b8ec9dd16200ac6dc5ce27ba5a4ada3c8c1eca (patch) | |
tree | a59d729caaf46663716052da12434eecdd7fa3ef /pkgs/applications/networking/instant-messengers | |
parent | 1812566f24a712c85bb8d5c6b7057be1a7ff6e98 (diff) | |
parent | 1ae62d806f84dad3d92f12abc5150c75c016b70c (diff) |
Merge pull request #180596 from sikmir/tg
tg: init at 0.19.0
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/tg/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix new file mode 100644 index 0000000000000..0918bfee91e2e --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/telegram/tg/default.nix @@ -0,0 +1,25 @@ +{ lib, buildPythonApplication, fetchFromGitHub, pythonOlder, python-telegram }: + +buildPythonApplication rec { + pname = "tg"; + version = "0.19.0"; + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "paul-nameless"; + repo = pname; + rev = "v${version}"; + hash = "sha256-apHd26XnOz5nak+Kz8PJPsonQfTWDyPz7Mi/tWf7zwM="; + }; + + propagatedBuildInputs = [ python-telegram ]; + + doCheck = false; # No tests + + meta = with lib; { + description = "Terminal client for telegram"; + homepage = "https://github.com/paul-nameless/tg"; + license = licenses.unlicense; + maintainers = with maintainers; [ sikmir ]; + }; +} |