diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-07-28 18:01:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-28 18:01:52 +0000 |
commit | 039200b6c4f97182b973c9b55cdded6df7c07661 (patch) | |
tree | 9cf279c8a76bf6524a3012a04114541870f164df /pkgs/applications/networking/instant-messengers | |
parent | 70b27286364d6f03f2e4bcb030e51e92676a9451 (diff) | |
parent | 3460ec6a31b730cd630335a683790c93095962f8 (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix deleted file mode 100644 index c8e8598c14030..0000000000000 --- a/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix +++ /dev/null @@ -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; [ ]; - }; -} |