sunsama: init at 3.1.1 (#421084)
This commit is contained in:
@@ -5574,6 +5574,12 @@
|
||||
githubId = 217543;
|
||||
name = "Damien Cassou";
|
||||
};
|
||||
dan-kc = {
|
||||
email = "daniel@keone.dev";
|
||||
github = "dan-kc";
|
||||
githubId = 63171098;
|
||||
name = "Daniel Cox";
|
||||
};
|
||||
dan-theriault = {
|
||||
email = "nix@theriault.codes";
|
||||
github = "Dan-Theriault";
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
appimageTools,
|
||||
lib,
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "3.1.1";
|
||||
pname = "sunsama";
|
||||
src = fetchurl {
|
||||
url = "https://download.todesktop.com/2003096gmmnl0g1/sunsama-${version}-build-250512vfxlcgvds-x86_64.AppImage";
|
||||
hash = "sha512-VOzD/kWfsP2GR1uYkVUdjAuw9tlKjHRNxYuDSYYH7fn43Bk+wfgom/ofu3it/vQjjtuezkTN6gi96U87ypQrSA==";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
|
||||
appimageTools.wrapType2 {
|
||||
inherit pname version src;
|
||||
extraInstallCommands = ''
|
||||
install -Dm444 ${appimageContents}/sunsama.desktop $out/share/applications/sunsama.desktop
|
||||
install -Dm444 {${appimageContents}/usr,$out}/share/icons/hicolor/512x512/apps/sunsama.png
|
||||
substituteInPlace $out/share/applications/sunsama.desktop \
|
||||
--replace-fail 'Exec=AppRun' 'Exec=sunsama'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Digital daily planner that helps you feel calm and stay focused";
|
||||
homepage = "https://sunsama.com";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = with lib.maintainers; [ dan-kc ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
mainProgram = "sunsama";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user