mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
34 lines
865 B
Nix
34 lines
865 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, telegram-desktop
|
|
, nix-update-script
|
|
}:
|
|
|
|
telegram-desktop.overrideAttrs (old: rec {
|
|
pname = "64gram";
|
|
version = "1.1.31";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TDesktop-x64";
|
|
repo = "tdesktop";
|
|
rev = "v${version}";
|
|
|
|
fetchSubmodules = true;
|
|
hash = "sha256-xYCousLXV9TeQjDNiXkEMbTiiuusLc7Ib2xHkMYBD1M=";
|
|
};
|
|
|
|
passthru.updateScript = nix-update-script {};
|
|
|
|
meta = with lib; {
|
|
description = "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;
|
|
};
|
|
})
|