mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
35 lines
1009 B
Nix
35 lines
1009 B
Nix
{
|
|
appimageTools,
|
|
lib,
|
|
fetchurl,
|
|
}: let
|
|
pname = "everdo";
|
|
version = "1.9.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://release.everdo.net/${version}/Everdo-${version}.AppImage";
|
|
hash = "sha256-0yxAzM+qmgm4E726QDYS9QwMdp6dUcuvjZzWYEZx7kU=";
|
|
};
|
|
|
|
appimageContents = appimageTools.extractType2 {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"];
|
|
};
|
|
}
|