Loading pkgs/applications/networking/remote/teamviewer/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,10 @@ mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; description = "Desktop sharing application, providing remote support and online meetings"; platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; maintainers = with maintainers; [ jagajaga jraygauthier Loading pkgs/applications/networking/remote/teamviewer/update-teamviewer.sh +15 −5 Original line number Diff line number Diff line #!/usr/bin/env nix-shell #! nix-shell -i bash -p nix-update curl #!nix-shell -i bash -p bash curl gnugrep jq nix nix-prefetch nix-prefetch-scripts common-updater-scripts TEAMVIEWER_VER=$(curl -s https://www.teamviewer.com/en-us/download/linux/ | grep -oP 'Current version: <span data-dl-version-label>\K[0-9]+\.[0-9]+\.[0-9]+') set -euo pipefail nix-update --version "$TEAMVIEWER_VER" --system x86_64-linux teamviewer nix-update --version "skip" --system aarch64-linux teamviewer current_version=$(nix eval --raw -f . teamviewer.version) latest_version=$(curl -s https://www.teamviewer.com/en-us/download/portal/linux/ | grep -oP 'Current version: <span data-dl-version-label>\K[0-9]+\.[0-9]+\.[0-9]+') echo "current version: $current_version" echo "latest version: $latest_version" if [[ "$latest_version" == "$current_version" ]]; then echo "package is up-to-date" exit 0 fi update-source-version teamviewer "$latest_version" Loading
pkgs/applications/networking/remote/teamviewer/default.nix +4 −1 Original line number Diff line number Diff line Loading @@ -159,7 +159,10 @@ mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; description = "Desktop sharing application, providing remote support and online meetings"; platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" "aarch64-linux" ]; maintainers = with maintainers; [ jagajaga jraygauthier Loading
pkgs/applications/networking/remote/teamviewer/update-teamviewer.sh +15 −5 Original line number Diff line number Diff line #!/usr/bin/env nix-shell #! nix-shell -i bash -p nix-update curl #!nix-shell -i bash -p bash curl gnugrep jq nix nix-prefetch nix-prefetch-scripts common-updater-scripts TEAMVIEWER_VER=$(curl -s https://www.teamviewer.com/en-us/download/linux/ | grep -oP 'Current version: <span data-dl-version-label>\K[0-9]+\.[0-9]+\.[0-9]+') set -euo pipefail nix-update --version "$TEAMVIEWER_VER" --system x86_64-linux teamviewer nix-update --version "skip" --system aarch64-linux teamviewer current_version=$(nix eval --raw -f . teamviewer.version) latest_version=$(curl -s https://www.teamviewer.com/en-us/download/portal/linux/ | grep -oP 'Current version: <span data-dl-version-label>\K[0-9]+\.[0-9]+\.[0-9]+') echo "current version: $current_version" echo "latest version: $latest_version" if [[ "$latest_version" == "$current_version" ]]; then echo "package is up-to-date" exit 0 fi update-source-version teamviewer "$latest_version"