telegram-cli: remove
This commit is contained in:
parent
826b2b2d44
commit
0fa6394cbb
|
@ -1,59 +0,0 @@
|
|||
{ stdenv, fetchFromGitHub, fetchpatch, jansson, lib, libconfig, libevent, libgcrypt, lua, lua53Packages
|
||||
, makeWrapper, openssl, pkg-config, python3, readline, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "telegram-cli";
|
||||
version = "20200106";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kenorb-contrib";
|
||||
repo = "tg";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-wYBPr2b8IOycO9y/CNyGjnRsyGyYl3oiXYtTzwTurVA=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull patch pending upstream upstream inclusion for -fno-common toolchains:
|
||||
# https://github.com/kenorb-contrib/tg/pull/61
|
||||
(fetchpatch {
|
||||
name = "fno-common.patch";
|
||||
url = "https://github.com/kenorb-contrib/tg/commit/aad2e644fffa16066b227741d54de31bddb04ff8.patch";
|
||||
sha256 = "sha256-LAa5J4BVj3QCiDSs+p2bynDroMSIqCeexQvrgaDl6OE=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
jansson
|
||||
libconfig
|
||||
libevent
|
||||
libgcrypt
|
||||
lua
|
||||
lua53Packages.lgi
|
||||
openssl
|
||||
python3
|
||||
readline
|
||||
zlib
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm755 ./bin/telegram-cli $out/bin/telegram-cli-keyless
|
||||
install -Dm644 ./tg-server.pub -t $out/share/telegram-cli
|
||||
makeWrapper $out/bin/telegram-cli-keyless $out/bin/telegram-cli \
|
||||
--add-flags "-k $out/share/telegram-cli/tg-server.pub"
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line interface for Telegram, that uses readline interface, it's a client implementation of TGL library";
|
||||
downloadPage = "https://github.com/kenorb-contrib/tg";
|
||||
license = licenses.gpl2Only;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -1670,6 +1670,7 @@ mapAliases ({
|
|||
tdesktop = telegram-desktop; # Added 2023-04-07
|
||||
tdm = throw "tdm has been removed because nobody can figure out how to fix OpenAL integration. Use precompiled binary and `steam-run` instead";
|
||||
teleconsole = throw "teleconsole is archived by upstream"; # Added 2022-04-05
|
||||
telegram-cli = throw "telegram-cli was removed because it was broken and abandoned upstream"; # Added 2023-07-28
|
||||
telepathy-qt = throw "telepathy-qt no longer supports Qt 4. Please use libsForQt5.telepathy instead"; # Added 2020-07-02
|
||||
telepathy_farstream = throw "'telepathy_farstream' has been renamed to/replaced by 'telepathy-farstream'"; # Converted to throw 2022-02-22
|
||||
telepathy_gabble = throw "'telepathy_gabble' has been renamed to/replaced by 'telepathy-gabble'"; # Converted to throw 2022-02-22
|
||||
|
|
|
@ -35351,8 +35351,6 @@ with pkgs;
|
|||
|
||||
tektoncd-cli = callPackage ../applications/networking/cluster/tektoncd-cli { };
|
||||
|
||||
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 { };
|
||||
|
|
Loading…
Reference in a new issue