tg: init at 0.19.0

This commit is contained in:
Nikolay Korotkiy 2022-07-08 00:43:26 +03:00
parent 8599c7adba
commit 1ae62d806f
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 27 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -30348,6 +30348,8 @@ with pkgs;
telegram-cli = callPackage ../applications/networking/instant-messengers/telegram/telegram-cli { };
tg = python3Packages.callPackage ../applications/networking/instant-messengers/telegram/tg { };
telepathy-gabble = callPackage ../applications/networking/instant-messengers/telepathy/gabble { };
telepathy-haze = callPackage ../applications/networking/instant-messengers/telepathy/haze {};