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-13 13:13:58 +01:00
|
|
|
version = "1.5.1";
|
|
|
|
sha256Hash = "1y2fhw57g6raiv820sb53hjsqrmm81ij58dxlrv64z7ng0s8cnar";
|
2018-03-21 21:08:22 +00:00
|
|
|
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
|
2018-10-13 13:13:58 +01:00
|
|
|
archPatchesRevision = "415526";
|
|
|
|
archPatchesHash = "1lfzws90ab0vajhm5r64gyyqqc1g6a2ay0a1vkp0ah1iw5jh11ik";
|
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
|
|
|
}
|