From 3e21a686e76f8c984cf2230a04823a42f3c22ee1 Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Sun, 26 Jan 2025 16:46:34 -0600 Subject: [PATCH 1/3] maintainers: add c4thebomb --- maintainers/maintainer-list.nix | 11 +++++++++++ .../networking/remote/teamviewer/default.nix | 1 + 2 files changed, 12 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index fcc8363179a2..48fa20fae8a3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -3565,6 +3565,17 @@ githubId = 382011; name = "c4605"; }; + c4thebomb = { + name = "Ceferino Patino"; + email = "c4patino@gmail.com"; + github = "c4thebomb"; + githubId = 79673111; + keys = [ + { + fingerprint = "EA60 D516 A926 7532 369D 3E67 E161 DF22 9EC1 280E"; + } + ]; + }; caarlos0 = { name = "Carlos A Becker"; email = "carlos@becker.software"; diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix index 45c972d4f87e..f9cdcd804b34 100644 --- a/pkgs/applications/networking/remote/teamviewer/default.nix +++ b/pkgs/applications/networking/remote/teamviewer/default.nix @@ -162,6 +162,7 @@ mkDerivation rec { jagajaga jraygauthier gador + c4thebomb ]; }; } From c10e0eb43ff335c8b0ecddceca288e7551461498 Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Sun, 26 Jan 2025 16:48:45 -0600 Subject: [PATCH 2/3] teamviewer: adding auto-update script Adding auto-updating through nix-update so that teamviewer automatically fetches the latest version. The package previously got out of date enough that newer clients were rejecting connections. --- pkgs/applications/networking/remote/teamviewer/default.nix | 2 ++ .../networking/remote/teamviewer/update-teamviewer.sh | 7 +++++++ 2 files changed, 9 insertions(+) create mode 100755 pkgs/applications/networking/remote/teamviewer/update-teamviewer.sh diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix index f9cdcd804b34..895955b161b9 100644 --- a/pkgs/applications/networking/remote/teamviewer/default.nix +++ b/pkgs/applications/networking/remote/teamviewer/default.nix @@ -152,6 +152,8 @@ mkDerivation rec { dontWrapQtApps = true; preferLocalBuild = true; + passthru.updateScript = ./update-teamviewer.sh; + meta = with lib; { homepage = "https://www.teamviewer.com"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; diff --git a/pkgs/applications/networking/remote/teamviewer/update-teamviewer.sh b/pkgs/applications/networking/remote/teamviewer/update-teamviewer.sh new file mode 100755 index 000000000000..e8d2f681851a --- /dev/null +++ b/pkgs/applications/networking/remote/teamviewer/update-teamviewer.sh @@ -0,0 +1,7 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p nix-update curl + +TEAMVIEWER_VER=$(curl -s https://www.teamviewer.com/en-us/download/linux/ | grep -oP 'Current version: \K[0-9]+\.[0-9]+\.[0-9]+') + +nix-update --version "$TEAMVIEWER_VER" --system x86_64-linux teamviewer +nix-update --version "skip" --system aarch64-linux teamviewer From 64631fa56e1e7d7d3d7441717ad0f5fa26f8f4d8 Mon Sep 17 00:00:00 2001 From: C4 Patino Date: Sun, 26 Jan 2025 17:59:01 -0600 Subject: [PATCH 3/3] teamviewer: 15.54.3 -> 15.61.3 --- pkgs/applications/networking/remote/teamviewer/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix index 895955b161b9..ede0aff09ae3 100644 --- a/pkgs/applications/networking/remote/teamviewer/default.nix +++ b/pkgs/applications/networking/remote/teamviewer/default.nix @@ -30,7 +30,7 @@ mkDerivation rec { "out" "dev" ]; - version = "15.54.3"; + version = "15.61.3"; src = let @@ -39,11 +39,11 @@ mkDerivation rec { { x86_64-linux = fetchurl { url = "${base_url}/teamviewer_${version}_amd64.deb"; - hash = "sha256-41zVX2svomcRKu2ow1A/EeKojBIpABO4o2EZxappzgo="; + hash = "sha256-o7Em+QRW4TebRTJS5xjcx1M6KPh1ziB1j0fvlO+RYa4="; }; aarch64-linux = fetchurl { url = "${base_url}/teamviewer_${version}_arm64.deb"; - hash = "sha256-wuQYWeYgXW54/5dpiGzJxZ9JZDlUgFgCKq8Z4xV2HlI="; + hash = "sha256-LDByF4u9xZV1MYApBrnlNrUPndbDrQt6DKX+r8Kmq6k="; }; } .${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");