2024-03-11 05:39:21 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, telegram-desktop
|
2024-04-10 14:26:33 +02:00
|
|
|
, nix-update-script
|
2024-03-11 05:39:21 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
telegram-desktop.overrideAttrs (old: rec {
|
2024-04-03 17:51:35 +02:00
|
|
|
pname = "64gram";
|
2024-05-08 13:11:22 +02:00
|
|
|
version = "1.1.22";
|
2024-03-11 05:39:21 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "TDesktop-x64";
|
|
|
|
repo = "tdesktop";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
fetchSubmodules = true;
|
2024-05-08 13:11:22 +02:00
|
|
|
hash = "sha256-Fhix+kCqUTr9qGMzDc2undxmhjmM6fPorZebeqXNHHE=";
|
2024-03-11 05:39:21 +01:00
|
|
|
};
|
|
|
|
|
2024-04-10 14:26:33 +02:00
|
|
|
passthru.updateScript = nix-update-script {};
|
|
|
|
|
2024-03-11 05:39:21 +01:00
|
|
|
meta = with lib; {
|
|
|
|
description = "An unofficial Telegram Desktop providing Windows 64bit build and extra features";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.all;
|
|
|
|
homepage = "https://github.com/TDesktop-x64/tdesktop";
|
|
|
|
changelog = "https://github.com/TDesktop-x64/tdesktop/releases/tag/v${version}";
|
|
|
|
maintainers = with maintainers; [ clot27 ];
|
|
|
|
mainProgram = "telegram-desktop";
|
|
|
|
broken = stdenv.isDarwin;
|
|
|
|
};
|
|
|
|
})
|