Files
nixpkgs/pkgs/by-name/ev/everdo/package.nix
bitbloxhub c831bab4ac appimageTools: warn on deprecated type-specific aliases
Also migrates away from them with these commands, using ast-grep 0.43.0
with these commands in bash (assisted by ChatGPT):
```bash
for old in extractType1 extractType2; do
  ast-grep \
    --lang nix \
    --pattern "\$TOOLS.$old" \
    --rewrite '$TOOLS.extract' \
    --update-all \
    pkgs
done

ast-grep \
  --lang nix \
  --pattern '$TOOLS.wrapType1' \
  --rewrite '$TOOLS.wrapType2' \
  --update-all \
  pkgs
```

Assisted-by: GPT-5.6-Sol Medium via ChatGPT
2026-07-30 00:21:21 +00:00

36 lines
977 B
Nix

{
appimageTools,
lib,
fetchurl,
}:
let
pname = "everdo";
version = "1.11.9";
src = fetchurl {
url = "https://downloads.everdo.net/electron/Everdo-${version}.AppImage";
hash = "sha256-67b0gSoVcCIfkFRUL3afgB6eYj5YEuvDTtQgTIwV9S0=";
};
appimageContents = appimageTools.extract { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
install -Dm444 ${appimageContents}/everdo.desktop -t $out/share/applications
substituteInPlace $out/share/applications/everdo.desktop \
--replace-fail 'Exec=AppRun --no-sandbox %U' 'Exec=everdo %u'
cp -r ${appimageContents}/usr/share/icons $out/share
'';
meta = {
description = "Cross-platform GTD app with focus on privacy";
homepage = "https://everdo.net/";
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.luftmensch-luftmensch ];
mainProgram = "everdo";
platforms = [ "x86_64-linux" ];
};
}