2024-07-16 09:13:07 +00:00
|
|
|
{ lib, appimageTools, fetchzip }:
|
2022-12-31 14:57:53 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "keet";
|
2024-07-16 09:13:07 +00:00
|
|
|
version = "2.2.0";
|
2022-12-31 14:57:53 +00:00
|
|
|
|
2024-07-16 09:13:07 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://keet.io/downloads/${version}/Keet-x64.tar.gz";
|
|
|
|
hash = "sha256-Sd2aCUvgxdbCb8MtWMcznX2efmL1h9wLT29GG7t3Gzc=";
|
2022-12-31 14:57:53 +00:00
|
|
|
};
|
|
|
|
|
2024-07-16 09:13:07 +00:00
|
|
|
appimageContents = appimageTools.extract {
|
|
|
|
inherit pname version;
|
|
|
|
src = "${src}/Keet.AppImage";
|
|
|
|
};
|
2022-12-31 14:57:53 +00:00
|
|
|
in appimageTools.wrapType2 {
|
2024-07-16 09:13:07 +00:00
|
|
|
inherit pname version;
|
|
|
|
|
|
|
|
src = "${src}/Keet.AppImage";
|
|
|
|
|
|
|
|
extraPkgs = pkgs: with pkgs; [
|
|
|
|
gtk4
|
|
|
|
];
|
2022-12-31 14:57:53 +00:00
|
|
|
|
|
|
|
extraInstallCommands = ''
|
2024-07-16 09:13:07 +00:00
|
|
|
install -m 444 -D ${appimageContents}/Keet.desktop -t $out/share/applications
|
|
|
|
cp -r ${appimageContents}/*.png $out/share
|
2022-12-31 14:57:53 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Peer-to-Peer Chat";
|
|
|
|
homepage = "https://keet.io";
|
|
|
|
license = licenses.unfree;
|
|
|
|
maintainers = with maintainers; [ extends ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|