5 appimageTools.wrapType2 rec {
7 version = "2.1.17.1354";
10 url = "https://web.archive.org/web/20240406052908/https://clockify.me/downloads/Clockify_Setup.AppImage";
11 hash = "sha256-G5VOAf6PrjHUsnk7IlXdqJ2D941cnggjuHkkgrOaVaA=";
14 extraInstallCommands =
15 let appimageContents = appimageTools.extract { inherit pname version src; };
17 install -Dm 444 ${appimageContents}/clockify.desktop -t $out/share/applications
18 install -Dm 444 ${appimageContents}/clockify.png -t $out/share/pixmaps
20 substituteInPlace $out/share/applications/clockify.desktop \
21 --replace 'Exec=AppRun' 'Exec=${pname}'
25 description = "Free time tracker and timesheet app that lets you track work hours across projects";
26 homepage = "https://clockify.me";
27 license = licenses.unfree;
29 mainProgram = "clockify";
30 platforms = [ "x86_64-linux" ];