mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #319050 from Vinetos/update-kchat
kchat: 2.4.0 -> 3.3.1
This commit is contained in:
commit
47ea5bd487
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user