jetbrains-toolbox: 2.4.1.32573 -> 2.5.1.34629 (#347704)

Changed files
+11 -2
pkgs
by-name
je
jetbrains-toolbox
+11 -2
pkgs/by-name/je/jetbrains-toolbox/package.nix
···
, runCommand
, appimageTools
, icu
}:
let
pname = "jetbrains-toolbox";
-
version = "2.4.1.32573";
src = fetchzip {
url = "https://download.jetbrains.com/toolbox/jetbrains-toolbox-${version}.tar.gz";
-
hash = "sha256-6sfO9tDIdp/xuNtqZ7UXqzP1SuLd6ZAF7lMTlaF3Z80=";
stripRoot = false;
};
···
# Disabling the tests, this seems to be very difficult to test this app.
doCheck = false;
meta = with lib; {
description = "Jetbrains Toolbox";
···
, runCommand
, appimageTools
, icu
+
, genericUpdater
+
, writeShellScript
}:
let
pname = "jetbrains-toolbox";
+
version = "2.5.1.34629";
src = fetchzip {
url = "https://download.jetbrains.com/toolbox/jetbrains-toolbox-${version}.tar.gz";
+
hash = "sha256-YaMlvgktoa738grHarJX2Uh5PZ7qHuASyJBcUhMssEI=";
stripRoot = false;
};
···
# Disabling the tests, this seems to be very difficult to test this app.
doCheck = false;
+
+
passthru.updateScript = genericUpdater {
+
versionLister = writeShellScript "jetbrains-toolbox-versionLister" ''
+
curl -Ls 'https://data.services.jetbrains.com/products?code=TBA&release.type=release' \
+
| jq -r '.[] | .releases | flatten[] | .build'
+
'';
+
};
meta = with lib; {
description = "Jetbrains Toolbox";