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
Conversation
6c33e06
to
764de42
Compare
{ 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 | ||
]; | ||
|
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use fetchFromGitHub
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. |
There seems to be a more active fork at https://github.com/kenorb-contrib/tg. But I did not try it out yet. |
Closing because the author did not respond in the last months. Feel free to reopen the discussion here. |
Motivation for this change
telegram-desktop uses too much memory
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)