lapce: use upstream .desktop file

+2 -14
+2 -14
pkgs/applications/editors/lapce/default.nix
··· 7 , pkg-config 8 , perl 9 , fontconfig 10 - , copyDesktopItems 11 - , makeDesktopItem 12 , glib 13 , gtk3 14 , openssl ··· 92 cmake 93 pkg-config 94 perl 95 - copyDesktopItems 96 wrapGAppsHook # FIX: No GSettings schemas are installed on the system 97 gobject-introspection 98 ]; ··· 116 ]; 117 118 postInstall = '' 119 - install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/lapce.svg 120 ''; 121 - 122 - desktopItems = [ (makeDesktopItem { 123 - name = "lapce"; 124 - exec = "lapce %F"; 125 - icon = "lapce"; 126 - desktopName = "Lapce"; 127 - comment = meta.description; 128 - genericName = "Code Editor"; 129 - categories = [ "Development" "Utility" "TextEditor" ]; 130 - }) ]; 131 132 passthru.updateScript = nix-update-script { }; 133
··· 7 , pkg-config 8 , perl 9 , fontconfig 10 , glib 11 , gtk3 12 , openssl ··· 90 cmake 91 pkg-config 92 perl 93 wrapGAppsHook # FIX: No GSettings schemas are installed on the system 94 gobject-introspection 95 ]; ··· 113 ]; 114 115 postInstall = '' 116 + install -Dm0644 $src/extra/images/logo.svg $out/share/icons/hicolor/scalable/apps/dev.lapce.lapce.svg 117 + install -Dm0644 $src/extra/linux/dev.lapce.lapce.desktop $out/share/applications/lapce.desktop 118 ''; 119 120 passthru.updateScript = nix-update-script { }; 121