tdesktopPackages.preview: 1.4.4 -> 1.4.7

TODO: We're still using the old API ID (like the Arch package) which
should be used for testing only.
I've tried to contact the Telegram team multiple times via different
channels but didn't get a response so far. See [0],[1] for more details.

[0]: https://github.com/telegramdesktop/tdesktop/issues/4717
[1]: https://github.com/telegramdesktop/tdesktop/commit/65b2db216033aa08b7bc846df27843e566f08981
This commit is contained in:
Michael Weiss
2018-11-10 22:10:28 +01:00
parent b90bc0b2e3
commit 39a9e2d65f
2 changed files with 5 additions and 3 deletions
@@ -13,8 +13,8 @@ let
in {
stable = mkTelegram stableVersion;
preview = mkTelegram (stableVersion // {
version = "1.4.4";
sha256Hash = "1m1j485r3vzpglzfn8l4cqskysvkx8l3pqaw3fgp66jfajbxynf0";
version = "1.4.7";
sha256Hash = "00kjirikywdbigm4zdnm50s3wxfn9bw1yx13xz4k4ppz6amq9nrp";
stable = false;
});
}
@@ -97,7 +97,9 @@ mkDerivation rec {
sed -i Telegram/ThirdParty/libtgvoip/libtgvoip.gyp \
-e "/-msse2/d"
gyp \
gyp ${lib.optionalString (!stable) ''
-Dapi_id=17349 \
-Dapi_hash=344583e45741c457fe1862106095a5eb ''}\
-Dbuild_defines=${GYP_DEFINES} \
-Gconfig=Release \
--depth=Telegram/gyp \