Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

telegram-cli: init at 2016-03-23 #94874

Closed
wants to merge 1 commit into from

Conversation

notaLonelyDay
Copy link

Motivation for this change

telegram-desktop uses too much memory

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Comment on lines +1 to +21
{ stdenv, libevent, openssl, libgcrypt, zlib, readline, libconfig, lua, jansson, fetchgit }:
stdenv.mkDerivation rec {
pname = "telegram-cli";
version = "2016-03-23";
src = fetchgit {
url = "https://github.com/vysheng/tg.git";
rev = "6547c0b21b977b327b3c5e8142963f4bc246187a";
sha256 = "1d4p6wkzdbp1p8wcj44cknhwddwkgd3px0ds7x0q19p0c0067y8m";
deepClone = true;
};
buildInputs = [
libevent
openssl
libgcrypt
zlib
readline
libconfig
lua
jansson
];

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please run nixfmt on this, the formatting is very odd

stdenv.mkDerivation rec {
pname = "telegram-cli";
version = "2016-03-23";
src = fetchgit {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use fetchFromGitHub

@TomSmeets
Copy link
Contributor

This exact version of telegram-cli used to be in nixpkgs. It got removed with 57353fc. Please check if the issues mentioned there are resolved.

@TomSmeets
Copy link
Contributor

There seems to be a more active fork at https://github.com/kenorb-contrib/tg. But I did not try it out yet.

@SuperSandro2000
Copy link
Member

Closing because the author did not respond in the last months. Feel free to reopen the discussion here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants