From b9f47f49fee08c05a83044e8f54ace5bf62e71b8 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sat, 24 Aug 2024 09:26:29 +0200 Subject: [PATCH 1/2] viber: 21.8.0.11 -> 23.2.0.3 --- .../networking/instant-messengers/viber/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/viber/default.nix b/pkgs/applications/networking/instant-messengers/viber/default.nix index 9459084a4873..30ba2c31de98 100644 --- a/pkgs/applications/networking/instant-messengers/viber/default.nix +++ b/pkgs/applications/networking/instant-messengers/viber/default.nix @@ -43,15 +43,17 @@ stdenv.mkDerivation { pname = "viber"; - version = "21.8.0.11"; + version = "23.2.0.3"; src = fetchurl { - # Official link: https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb - url = "https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"; + # Taking Internet Archive snapshot of a specific version to avoid breakage + # on new versions + url = "https://web.archive.org/web/20240824071651/https://download.cdn.viber.com/cdn/desktop/Linux/viber.deb"; hash = "sha256-9WHiI2WlsgEhCPkrQoAunmF6lSb2n5RgQJ2+sdnSShM="; }; nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ dpkg ]; dontUnpack = true; From 1fc737b87450a674612820fac51379852dbcf0ff Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sat, 24 Aug 2024 09:29:22 +0200 Subject: [PATCH 2/2] viber: move to pkgs/by-name --- .../viber/default.nix => by-name/vi/viber/package.nix} | 0 pkgs/top-level/all-packages.nix | 2 -- 2 files changed, 2 deletions(-) rename pkgs/{applications/networking/instant-messengers/viber/default.nix => by-name/vi/viber/package.nix} (100%) diff --git a/pkgs/applications/networking/instant-messengers/viber/default.nix b/pkgs/by-name/vi/viber/package.nix similarity index 100% rename from pkgs/applications/networking/instant-messengers/viber/default.nix rename to pkgs/by-name/vi/viber/package.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 48668cc069c9..400f771761ea 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33351,8 +33351,6 @@ with pkgs; tart = callPackage ../applications/virtualization/tart { }; - viber = callPackage ../applications/networking/instant-messengers/viber { }; - wavebox = callPackage ../applications/networking/instant-messengers/wavebox { }; sonic-pi = libsForQt5.callPackage ../applications/audio/sonic-pi { };