Skip to content

Commit

Permalink
jetbrains-toolbox: 2.4.1.32573 -> 2.5.1.34629 (#347704)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Nov 5, 2024
2 parents e6ec6af + a614e90 commit baf38df
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/by-name/je/jetbrains-toolbox/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
, runCommand
, appimageTools
, icu
, genericUpdater
, writeShellScript
}:
let
pname = "jetbrains-toolbox";
version = "2.4.1.32573";
version = "2.5.1.34629";

src = fetchzip {
url = "https://download.jetbrains.com/toolbox/jetbrains-toolbox-${version}.tar.gz";
hash = "sha256-6sfO9tDIdp/xuNtqZ7UXqzP1SuLd6ZAF7lMTlaF3Z80=";
hash = "sha256-YaMlvgktoa738grHarJX2Uh5PZ7qHuASyJBcUhMssEI=";
stripRoot = false;
};

Expand Down Expand Up @@ -58,6 +60,13 @@ stdenv.mkDerivation {
# 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";
homepage = "https://jetbrains.com/";
Expand Down

0 comments on commit baf38df

Please sign in to comment.