Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
1.5 KiB
Nix
49 lines
1.5 KiB
Nix
{
|
|
lib,
|
|
appimageTools,
|
|
fetchurl,
|
|
nix-update-script,
|
|
}:
|
|
|
|
let
|
|
version = "2.1.10";
|
|
pname = "lunatask";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/lunatask/lunatask/releases/download/v${version}/Lunatask-${version}.AppImage";
|
|
hash = "sha256-8lnMg3mkdfXqimOdyujk/DE8CU6lzj9RDM8Nb2cEUms=";
|
|
};
|
|
|
|
appimageContents = appimageTools.extract {
|
|
inherit pname version src;
|
|
};
|
|
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
|
|
extraInstallCommands = ''
|
|
install -m 444 -D -t $out/share/applications ${appimageContents}/lunatask.desktop
|
|
install -m 444 -D -t $out/share/icons/hicolor/512x512/apps ${appimageContents}/lunatask.png
|
|
substituteInPlace $out/share/applications/lunatask.desktop \
|
|
--replace-fail 'Exec=AppRun' 'Exec=lunatask'
|
|
'';
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
description = "All-in-one encrypted todo list, notebook, habit and mood tracker, pomodoro timer, and journaling app";
|
|
longDescription = ''
|
|
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.
|
|
'';
|
|
homepage = "https://lunatask.app";
|
|
downloadPage = "https://lunatask.app/download";
|
|
changelog = "https://lunatask.app/releases/${version}";
|
|
license = lib.licenses.unfree;
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
maintainers = with lib.maintainers; [ zi3m5f ];
|
|
platforms = [ "x86_64-linux" ];
|
|
mainProgram = "lunatask";
|
|
};
|
|
}
|