2018-07-21 01:44:44 +01:00
|
|
|
{ qt5 }:
|
2018-03-19 23:42:33 +00:00
|
|
|
|
2018-03-22 16:11:12 +00:00
|
|
|
let
|
|
|
|
mkTelegram = args: qt5.callPackage (import ./generic.nix args) { };
|
|
|
|
stableVersion = {
|
2018-03-19 23:42:33 +00:00
|
|
|
stable = true;
|
2018-10-10 19:15:21 +01:00
|
|
|
version = "1.4.2";
|
|
|
|
sha256Hash = "025qld597b6x7wbf1y1qpcsz0brpf3qsqj650mq9fpps1yi1vfk7";
|
2018-03-21 21:08:22 +00:00
|
|
|
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
|
2018-10-01 19:21:45 +01:00
|
|
|
archPatchesRevision = "388730";
|
|
|
|
archPatchesHash = "1gvisz36bc6bl4zcpjyyk0a2dl6ixp65an8wgm2lkc9mhkl783q7";
|
2016-03-28 14:46:44 +01:00
|
|
|
};
|
2018-03-22 16:11:12 +00:00
|
|
|
in {
|
|
|
|
stable = mkTelegram stableVersion;
|
|
|
|
preview = mkTelegram (stableVersion // {
|
2018-03-19 23:42:33 +00:00
|
|
|
stable = false;
|
2018-03-22 16:11:12 +00:00
|
|
|
});
|
2016-03-28 14:46:44 +01:00
|
|
|
}
|