Loading pkgs/applications/misc/remnote/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -12,13 +12,16 @@ in url = "https://download.remnote.io/remnote-desktop/RemNote-${version}.AppImage"; hash = "sha256-4wN4lqeA9olo6igr1M1JhecPG/ruVivdOyWiRlDAzQQ="; }; appexec = appimageTools.wrapType2 { inherit pname version src; }; icon = fetchurl { url = "https://www.remnote.io/icon.png"; hash = "sha256-r5D7fNefKPdjtmV7f/88Gn3tqeEG8LGuD4nHI/sCk94="; }; desktopItem = makeDesktopItem { type = "Application"; name = "remnote"; Loading @@ -29,18 +32,21 @@ in categories = [ "Office" ]; mimeTypes = [ "x-scheme-handler/remnote" "x-scheme-handler/rn" ]; }; dontUnpack = true; dontConfigure = true; dontBuild = true; installPhase = '' runHook preInstall install -D ${appexec}/bin/remnote-${version} $out/bin/remnote install -m 444 -D "${desktopItem}/share/applications/"* -t $out/share/applications/ install -m 444 -D ${icon} $out/share/pixmaps/remnote.png install -Dm755 ${appexec}/bin/remnote-${version} $out/bin/remnote install -Dm444 "${desktopItem}/share/applications/"* -t $out/share/applications/ install -Dm444 ${icon} $out/share/pixmaps/remnote.png runHook postInstall ''; meta = with lib; { description = "A note-taking application focused on learning and productivity"; homepage = "https://remnote.com/"; Loading Loading
pkgs/applications/misc/remnote/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -12,13 +12,16 @@ in url = "https://download.remnote.io/remnote-desktop/RemNote-${version}.AppImage"; hash = "sha256-4wN4lqeA9olo6igr1M1JhecPG/ruVivdOyWiRlDAzQQ="; }; appexec = appimageTools.wrapType2 { inherit pname version src; }; icon = fetchurl { url = "https://www.remnote.io/icon.png"; hash = "sha256-r5D7fNefKPdjtmV7f/88Gn3tqeEG8LGuD4nHI/sCk94="; }; desktopItem = makeDesktopItem { type = "Application"; name = "remnote"; Loading @@ -29,18 +32,21 @@ in categories = [ "Office" ]; mimeTypes = [ "x-scheme-handler/remnote" "x-scheme-handler/rn" ]; }; dontUnpack = true; dontConfigure = true; dontBuild = true; installPhase = '' runHook preInstall install -D ${appexec}/bin/remnote-${version} $out/bin/remnote install -m 444 -D "${desktopItem}/share/applications/"* -t $out/share/applications/ install -m 444 -D ${icon} $out/share/pixmaps/remnote.png install -Dm755 ${appexec}/bin/remnote-${version} $out/bin/remnote install -Dm444 "${desktopItem}/share/applications/"* -t $out/share/applications/ install -Dm444 ${icon} $out/share/pixmaps/remnote.png runHook postInstall ''; meta = with lib; { description = "A note-taking application focused on learning and productivity"; homepage = "https://remnote.com/"; Loading