From 71ac9f191a9bfdf249421c9dafe1f4dbc6449e83 Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Mon, 31 Aug 2020 12:42:01 -0700 Subject: [PATCH 1/3] zoom-us: 5.1.422789.0705 -> 5.2.446620.0816 --- .../networking/instant-messengers/zoom-us/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index fde318c99ae..8defa7d0b43 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -15,11 +15,11 @@ assert pulseaudioSupport -> libpulseaudio != null; let inherit (stdenv.lib) concatStringsSep makeBinPath optional; - version = "5.1.422789.0705"; + version = "5.2.446620.0816"; srcs = { x86_64-linux = fetchurl { url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz"; - sha256 = "1sc454xadxsbxxyb68qi7ac20yq0vymzzw1i07z19c9idfpjy75f"; + sha256 = "0d7x4ji5l0rpanh0md75lywa8l9v6pd8bba5dba2xbfp7x9c3c4q"; }; }; From 548ded0ad5076f786bd801e6c46a4b6183e5490c Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Tue, 1 Sep 2020 15:43:29 -0700 Subject: [PATCH 2/3] zoom-us: 5.2.446620.0816 -> 5.2.454870.0831 thanks to @doronbehar for changes to update script --- .../instant-messengers/zoom-us/default.nix | 4 ++-- .../instant-messengers/zoom-us/update.sh | 15 +++------------ 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index 8defa7d0b43..11325daffb8 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -15,11 +15,11 @@ assert pulseaudioSupport -> libpulseaudio != null; let inherit (stdenv.lib) concatStringsSep makeBinPath optional; - version = "5.2.446620.0816"; + version = "5.2.454870.0831"; srcs = { x86_64-linux = fetchurl { url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz"; - sha256 = "0d7x4ji5l0rpanh0md75lywa8l9v6pd8bba5dba2xbfp7x9c3c4q"; + sha256 = "198p7a6kd5bakywj314lwizsy03g3j7w5zd7j3xghmpcfjz5drbn"; }; }; diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh index 6214d4e2625..bda9c5ae0a0 100755 --- a/pkgs/applications/networking/instant-messengers/zoom-us/update.sh +++ b/pkgs/applications/networking/instant-messengers/zoom-us/update.sh @@ -1,17 +1,8 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p curl pcre common-updater-scripts +#!nix-shell -i bash -p curl pup common-updater-scripts set -eu -o pipefail -oldVersion=$(nix-instantiate --eval -E "with import ./. {}; lib.getVersion zoom-us" | tr -d '"') -version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcregrep -o1 '/(([0-9]\.?)+)/')" +version="$(curl -Ls https://zoom.us/download\?os\=linux | pup '.linux-ver-text text{}' | cut -d' ' -f2)" -if [ ! "${oldVersion}" = "${version}" ]; then - update-source-version zoom-us "$version" - nixpkgs="$(git rev-parse --show-toplevel)" - default_nix="$nixpkgs/pkgs/applications/networking/instant-messengers/zoom-us/default.nix" - git add "${default_nix}" - git commit -m "zoom-us: ${oldVersion} -> ${version}" -else - echo "zoom-us is already up-to-date" -fi +update-source-version zoom-us "$version" From 3d9adca64178619c4868060a86a546978cda5764 Mon Sep 17 00:00:00 2001 From: Amit Aryeh Levy Date: Wed, 9 Sep 2020 16:20:29 -0700 Subject: [PATCH 3/3] zoom-us: 5.2.454870.0831 -> 5.2.458699.0906 --- .../networking/instant-messengers/zoom-us/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix index 11325daffb8..07602468427 100644 --- a/pkgs/applications/networking/instant-messengers/zoom-us/default.nix +++ b/pkgs/applications/networking/instant-messengers/zoom-us/default.nix @@ -15,11 +15,11 @@ assert pulseaudioSupport -> libpulseaudio != null; let inherit (stdenv.lib) concatStringsSep makeBinPath optional; - version = "5.2.454870.0831"; + version = "5.2.458699.0906"; srcs = { x86_64-linux = fetchurl { url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz"; - sha256 = "198p7a6kd5bakywj314lwizsy03g3j7w5zd7j3xghmpcfjz5drbn"; + sha256 = "0cwai5v2m99cvw1dnysl88fi97dwm6rq7xv3y0ydgg3499n8cjpf"; }; };