Unverified Commit 6de771d0 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #295356 from f3rn0s/fix-caido

caido: 0.29.2 -> 0.33.0
parents 67100118 01051e7f
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -6,10 +6,10 @@

let
  pname = "caido";
  version = "0.29.2";
  version = "0.33.0";
  src = fetchurl {
    url = "https://storage.googleapis.com/caido-releases/v${version}/caido-desktop-linux-v${version}-e0f8102b.AppImage";
    hash = "sha256-4PgQK52LAX1zacmoUK0muIhrvFDF7anQ6sx35I+ErVs=";
    url = "https://storage.googleapis.com/caido-releases/v${version}/caido-desktop-v${version}-linux-x86_64.AppImage";
    hash = "sha256-MUQ1tVcIpLrC2RKsWDqv8MBGaHfh56OxIC/ARArQjiU=";
  };
  appimageContents = appimageTools.extractType2 { inherit pname src version; };

@@ -21,8 +21,6 @@ in appimageTools.wrapType2 {
  extraInstallCommands = ''
    mv $out/bin/${pname}-${version} $out/bin/${pname}
    install -m 444 -D ${appimageContents}/caido.desktop -t $out/share/applications
    substituteInPlace $out/share/applications/caido.desktop \
      --replace 'Exec=AppRun' 'Exec=${pname}'
    install -m 444 -D ${appimageContents}/caido.png \
      $out/share/icons/hicolor/512x512/apps/caido.png
    source "${makeWrapper}/nix-support/setup-hook"