diff options
author | Masum Reza <50095635+JohnRTitor@users.noreply.github.com> | 2024-06-21 23:13:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 23:13:32 +0530 |
commit | 47ea5bd4873307fc2371ae1bdf508864f6a25ee8 (patch) | |
tree | ca8fe48488da3ec1e94ea1ffb3a0446c6266c524 /pkgs/by-name | |
parent | eb433fa777d4af2544893f70c7577d95f04d79bb (diff) | |
parent | 1d86418da726035f4d88ffe17169d81dab2efa40 (diff) |
Merge pull request #319050 from Vinetos/update-kchat
kchat: 2.4.0 -> 3.3.1
Diffstat (limited to 'pkgs/by-name')
-rw-r--r-- | pkgs/by-name/kc/kchat/package.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/by-name/kc/kchat/package.nix b/pkgs/by-name/kc/kchat/package.nix index 1eaf7650b6a18..22a3496f6a81d 100644 --- a/pkgs/by-name/kc/kchat/package.nix +++ b/pkgs/by-name/kc/kchat/package.nix @@ -5,12 +5,12 @@ appimageTools.wrapType2 rec { pname = "kchat"; - version = "2.4.0"; + version = "3.3.1"; src = fetchurl { url = "https://download.storage5.infomaniak.com/kchat/kchat-desktop-${version}-linux-x86_64.AppImage"; name = "kchat-${version}.AppImage"; - hash = "sha256-8mkkHod7iBhHVAL/vQCVnmwVlPGikdHhtiEaFVIayrU="; + hash = "sha256-f9wWgZSPSMP7bLZGfR5F6l/eAVHVhRmF1c7S6/qLgIA="; }; extraInstallCommands = @@ -24,7 +24,8 @@ appimageTools.wrapType2 rec { cp -r ${contents}/usr/* "$out" cp "${contents}/kchat-desktop.desktop" "$out/share/applications/" mv "$out/bin/kchat" "$out/bin/${meta.mainProgram}" || true - substituteInPlace $out/share/applications/kchat-desktop.desktop --replace 'Exec=AppRun' 'Exec=${meta.mainProgram}' + install -m 444 -D ${contents}/kchat-desktop.desktop $out/share/applications/kchat-desktop.desktop + substituteInPlace $out/share/applications/kchat-desktop.desktop --replace-fail 'Exec=AppRun' 'Exec=${meta.mainProgram}' ''; meta = with lib; { |