From 9e2357e0dfc40f560375632875955fa9db4deb71 Mon Sep 17 00:00:00 2001 From: oluceps Date: Fri, 21 Jun 2024 14:18:48 +0000 Subject: [PATCH] materialgram: init at 5.4.1.1 Co-authored-by: duvetfall Co-authored-by: Kamilla 'ova --- pkgs/by-name/ma/materialgram/package.nix | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pkgs/by-name/ma/materialgram/package.nix diff --git a/pkgs/by-name/ma/materialgram/package.nix b/pkgs/by-name/ma/materialgram/package.nix new file mode 100644 index 000000000000..8ecbc725601f --- /dev/null +++ b/pkgs/by-name/ma/materialgram/package.nix @@ -0,0 +1,34 @@ +{ + telegram-desktop, + lib, + fetchFromGitHub, +}: +telegram-desktop.overrideAttrs ( + finalAttrs: previousAttrs: { + pname = "materialgram"; + version = "5.4.1.1"; + + src = fetchFromGitHub { + owner = "kukuruzka165"; + repo = "materialgram"; + rev = "refs/tags/v${finalAttrs.version}"; + fetchSubmodules = true; + hash = "sha256-enA/8mIXcRTPGyZFgZ5Wg4fWq4fD4rtjH7bm/32FZaE"; + }; + + meta = previousAttrs.meta // { + description = "Telegram Desktop fork with material icons and some improvements"; + longDescription = '' + Telegram Desktop fork with Material Design and other improvements, + which is based on the Telegram API and the MTProto secure protocol. + ''; + homepage = "https://kukuruzka165.github.io/materialgram/"; + changelog = "https://github.com/kukuruzka165/materialgram/releases/tag/v${finalAttrs.version}"; + maintainers = with lib.maintainers; [ + oluceps + aleksana + ]; + mainProgram = "materialgram"; + }; + } +)