39a9e2d65f
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]: 65b2db2160
20 lines
618 B
Nix
20 lines
618 B
Nix
{ qt5 }:
|
|
|
|
let
|
|
mkTelegram = args: qt5.callPackage (import ./generic.nix args) { };
|
|
stableVersion = {
|
|
stable = true;
|
|
version = "1.4.3";
|
|
sha256Hash = "1pvjvndqc7ylgc8ihf20fl1vb1x6fj7ywl6p1fr16j683vhdcml8";
|
|
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
|
|
archPatchesRevision = "388730";
|
|
archPatchesHash = "1gvisz36bc6bl4zcpjyyk0a2dl6ixp65an8wgm2lkc9mhkl783q7";
|
|
};
|
|
in {
|
|
stable = mkTelegram stableVersion;
|
|
preview = mkTelegram (stableVersion // {
|
|
version = "1.4.7";
|
|
sha256Hash = "00kjirikywdbigm4zdnm50s3wxfn9bw1yx13xz4k4ppz6amq9nrp";
|
|
stable = false;
|
|
});
|
|
}
|