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

This commit is contained in:
Gaétan Lepage 2024-11-05 17:11:40 +01:00 committed by GitHub
commit baf38dff6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,14 +6,16 @@
, runCommand , runCommand
, appimageTools , appimageTools
, icu , icu
, genericUpdater
, writeShellScript
}: }:
let let
pname = "jetbrains-toolbox"; pname = "jetbrains-toolbox";
version = "2.4.1.32573"; version = "2.5.1.34629";
src = fetchzip { src = fetchzip {
url = "https://download.jetbrains.com/toolbox/jetbrains-toolbox-${version}.tar.gz"; url = "https://download.jetbrains.com/toolbox/jetbrains-toolbox-${version}.tar.gz";
hash = "sha256-6sfO9tDIdp/xuNtqZ7UXqzP1SuLd6ZAF7lMTlaF3Z80="; hash = "sha256-YaMlvgktoa738grHarJX2Uh5PZ7qHuASyJBcUhMssEI=";
stripRoot = false; stripRoot = false;
}; };
@ -58,6 +60,13 @@ stdenv.mkDerivation {
# Disabling the tests, this seems to be very difficult to test this app. # Disabling the tests, this seems to be very difficult to test this app.
doCheck = false; 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; { meta = with lib; {
description = "Jetbrains Toolbox"; description = "Jetbrains Toolbox";
homepage = "https://jetbrains.com/"; homepage = "https://jetbrains.com/";