Unverified Commit bffca1e7 authored by K900's avatar K900 Committed by GitHub
Browse files

telegram-desktop: 6.6.2 -> 6.7.5, _64gram: 1.1.94 -> 1.1.99 (#505783)

parents 96dc3ba1 8211b89b
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -45,14 +45,14 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "telegram-desktop-unwrapped";
  version = "6.6.2";
  version = "6.7.5";

  src = fetchFromGitHub {
    owner = "telegramdesktop";
    repo = "tdesktop";
    rev = "v${finalAttrs.version}";
    fetchSubmodules = true;
    hash = "sha256-sMg7h+he+mlqTu8wSLAsSJzCmwTX3t+suTEY77RH+aI=";
    hash = "sha256-HsXNTZY/+Xz7pIT7durOd5T/u7jML0rVBOPb4pnIXow=";
  };

  nativeBuildInputs = [
@@ -104,6 +104,8 @@ stdenv.mkDerivation (finalAttrs: {
    # We're allowed to used the API ID of the Snap package:
    (lib.cmakeFeature "TDESKTOP_API_ID" "611335")
    (lib.cmakeFeature "TDESKTOP_API_HASH" "d524b414d21f4d37f08684c1df41ac9c")
    # swift 6 is not available in nixpkgs
    (lib.cmakeBool "DESKTOP_APP_DISABLE_SWIFT6" true)
  ];

  installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
+2 −2
Original line number Diff line number Diff line
@@ -10,13 +10,13 @@ telegram-desktop.override {
  inherit withWebkit;
  unwrapped = telegram-desktop.unwrapped.overrideAttrs (old: rec {
    pname = "64gram-unwrapped";
    version = "1.1.94";
    version = "1.1.99";

    src = fetchFromGitHub {
      owner = "TDesktop-x64";
      repo = "tdesktop";
      tag = "v${version}";
      hash = "sha256-pMcG0B3YxrvvaLsC2yWJsm9wHpv5+xLtp+wQhRtJ38Q=";
      hash = "sha256-p1mdNoTjftbAeoWJ+AKVPFr87BoxOLIT5fDzWY3VXMQ=";
      fetchSubmodules = true;
    };