1 { lib, appimageTools, fetchurl }:
8 url = "https://lunatask.app/download/Lunatask-${version}.AppImage";
9 sha256 = "sha256-DhTWD9uL7zKWiRfeLYKxPtmAy1yR20wjlVA+N33YgpQ=";
12 appimageContents = appimageTools.extractType2 {
13 inherit pname version src;
17 appimageTools.wrapType2 rec {
18 inherit pname version src;
20 extraInstallCommands = ''
21 mv $out/bin/${pname}-${version} $out/bin/${pname}
23 install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
24 install -m 444 -D ${appimageContents}/${pname}.png $out/share/icons/hicolor/512x512/apps/${pname}.png
25 substituteInPlace $out/share/applications/${pname}.desktop \
26 --replace 'Exec=AppRun' 'Exec=${pname}'
30 description = "An all-in-one encrypted todo list, notebook, habit and mood tracker, pomodoro timer, and journaling app";
32 Lunatask is an all-in-one encrypted todo list, notebook, habit and mood tracker, pomodoro timer, and journaling app. It remembers stuff for you and keeps track of your mental health.
34 homepage = "https://lunatask.app";
35 downloadPage = "https://lunatask.app/download";
36 license = licenses.unfree;
37 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
38 maintainers = with maintainers; [ henkery ];
39 platforms = [ "x86_64-linux" ];