nixpkgs/pkgs/by-name/_6/_64gram/package.nix

34 lines
868 B
Nix
Raw Normal View History

2024-03-11 07:39:21 +03:00
{ lib
, stdenv
, fetchFromGitHub
, telegram-desktop
2024-04-10 15:26:33 +03:00
, nix-update-script
2024-03-11 07:39:21 +03:00
}:
telegram-desktop.overrideAttrs (old: rec {
pname = "64gram";
2024-05-08 14:11:22 +03:00
version = "1.1.22";
2024-03-11 07:39:21 +03:00
src = fetchFromGitHub {
owner = "TDesktop-x64";
repo = "tdesktop";
rev = "v${version}";
fetchSubmodules = true;
2024-05-08 14:11:22 +03:00
hash = "sha256-Fhix+kCqUTr9qGMzDc2undxmhjmM6fPorZebeqXNHHE=";
2024-03-11 07:39:21 +03:00
};
2024-04-10 15:26:33 +03:00
passthru.updateScript = nix-update-script {};
2024-03-11 07:39:21 +03: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;
};
})