Merge pull request #311934 from luftmensch-luftmensch/everdo_1.9.0

This commit is contained in:
Sandro 2024-06-02 19:18:12 +02:00 committed by GitHub
commit 631a101e62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,34 @@
{
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 = "A 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"];
};
}