nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

treewide: switch all desktop file generators to new API

Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types

authored by

K900 and committed by
Jonathan Ringer
cb2cfba6 0c713dbe

+463 -504
+1 -1
nixos/modules/misc/documentation.nix
··· 129 129 genericName = "View NixOS documentation in a web browser"; 130 130 icon = "nix-snowflake"; 131 131 exec = "nixos-help"; 132 - categories = "System"; 132 + categories = ["System"]; 133 133 }; 134 134 135 135 in pkgs.symlinkJoin {
+9 -10
nixos/modules/programs/phosh.nix
··· 8 8 # Based on https://source.puri.sm/Librem5/librem5-base/-/blob/4596c1056dd75ac7f043aede07887990fd46f572/default/sm.puri.OSK0.desktop 9 9 oskItem = pkgs.makeDesktopItem { 10 10 name = "sm.puri.OSK0"; 11 - type = "Application"; 12 11 desktopName = "On-screen keyboard"; 13 12 exec = "${pkgs.squeekboard}/bin/squeekboard"; 14 - categories = "GNOME;Core;"; 15 - extraEntries = '' 16 - OnlyShowIn=GNOME; 17 - NoDisplay=true 18 - X-GNOME-Autostart-Phase=Panel 19 - X-GNOME-Provides=inputmethod 20 - X-GNOME-Autostart-Notify=true 21 - X-GNOME-AutoRestart=true 22 - ''; 13 + categories = [ "GNOME" "Core" ]; 14 + onlyShowIn = [ "GNOME" ]; 15 + noDisplay = true; 16 + extraConfig = { 17 + X-GNOME-Autostart-Phase = "Panel"; 18 + X-GNOME-Provides = "inputmethod"; 19 + X-GNOME-Autostart-Notify = "true"; 20 + X-GNOME-AutoRestart = "true"; 21 + }; 23 22 }; 24 23 25 24 phocConfigType = types.submodule {
+2 -3
pkgs/applications/audio/goattracker/default.nix
··· 12 12 let 13 13 pname = "goattracker" + optionalString isStereo "-stereo"; 14 14 desktopItem = makeDesktopItem { 15 - type = "Application"; 16 15 name = pname; 17 16 desktopName = "GoatTracker 2" + optionalString isStereo " Stereo"; 18 17 genericName = "Music Tracker"; ··· 19 20 then "gt2stereo" 20 21 else "goattrk2"; 21 22 icon = "goattracker"; 22 - categories = "AudioVideo;AudioVideoEditing;"; 23 - extraEntries = "Keywords=tracker;music;"; 23 + categories = [ "AudioVideo" "AudioVideoEditing" ]; 24 + keywords = [ "tracker" "music" ]; 24 25 }; 25 26 26 27 in stdenv.mkDerivation rec {
+3 -7
pkgs/applications/audio/jamesdsp/default.nix
··· 38 38 39 39 desktopItems = [ 40 40 (makeDesktopItem { 41 - name = "jamesdsp.desktop"; 41 + name = "jamesdsp"; 42 42 desktopName = "JamesDSP"; 43 43 genericName = "Audio effects processor"; 44 44 exec = "jamesdsp"; 45 45 icon = "jamesdsp"; 46 46 comment = "JamesDSP for Linux"; 47 - categories = "AudioVideo;Audio"; 47 + categories = [ "AudioVideo" "Audio" ]; 48 48 startupNotify = false; 49 - terminal = false; 50 - type = "Application"; 51 - extraDesktopEntries = { 52 - Keywords = "equalizer;audio;effect"; 53 - }; 49 + keywords = [ "equalizer" "audio" "effect" ]; 54 50 }) 55 51 ]; 56 52
+1 -1
pkgs/applications/audio/lyrebird/default.nix
··· 15 15 icon = "${placeholder "out"}/share/lyrebird/icon.png"; 16 16 desktopName = "Lyrebird"; 17 17 genericName = "Voice Changer"; 18 - categories = "AudioVideo;Audio;"; 18 + categories = [ "AudioVideo" "Audio" ]; 19 19 }; 20 20 in 21 21 python3Packages.buildPythonApplication rec {
-1
pkgs/applications/audio/netease-cloud-music-gtk/default.nix
··· 11 11 , wrapGAppsHook 12 12 , fetchurl 13 13 , fetchFromGitHub 14 - , makeDesktopItem 15 14 }: 16 15 rustPlatform.buildRustPackage rec { 17 16 pname = "netease-cloud-music-gtk";
+1 -1
pkgs/applications/audio/roomeqwizard/default.nix
··· 29 29 icon = pname; 30 30 desktopName = "REW"; 31 31 genericName = "Software for audio measurements"; 32 - categories = "AudioVideo;"; 32 + categories = [ "AudioVideo" ]; 33 33 }; 34 34 35 35 responseFile = writeTextFile {
+1 -1
pkgs/applications/audio/sony-headphones-client/default.nix
··· 31 31 icon = "SonyHeadphonesClient"; 32 32 desktopName = "Sony Headphones Client"; 33 33 comment = "A client recreating the functionality of the Sony Headphones app"; 34 - categories = "Audio;Mixer;"; 34 + categories = [ "Audio" "Mixer" ]; 35 35 }) ]; 36 36 37 37 meta = with lib; {
+1 -1
pkgs/applications/blockchains/bisq-desktop/default.nix
··· 51 51 icon = "bisq"; 52 52 desktopName = "Bisq ${version}"; 53 53 genericName = "Decentralized bitcoin exchange"; 54 - categories = "Network;P2P;"; 54 + categories = [ "Network" "P2P" ]; 55 55 }) 56 56 ]; 57 57
+1 -1
pkgs/applications/blockchains/crypto-org-wallet/default.nix
··· 1 - { lib, fetchurl, makeDesktopItem, appimageTools, imagemagick }: 1 + { lib, fetchurl, appimageTools, imagemagick }: 2 2 3 3 let 4 4 pname = "chain-desktop-wallet";
+1 -1
pkgs/applications/blockchains/monero-gui/default.nix
··· 76 76 icon = "monero"; 77 77 desktopName = "Monero"; 78 78 genericName = "Wallet"; 79 - categories = "Network;Utility;"; 79 + categories = [ "Network" "Utility" ]; 80 80 }; 81 81 82 82 postInstall = ''
+1 -1
pkgs/applications/blockchains/mycrypto/default.nix
··· 23 23 comment = "MyCrypto is a free, open-source interface for interacting with the blockchain"; 24 24 exec = pname; 25 25 icon = "mycrypto"; 26 - categories = "Finance;"; 26 + categories = [ "Finance" ]; 27 27 }; 28 28 29 29 in appimageTools.wrapType2 rec {
+1 -1
pkgs/applications/blockchains/wasabiwallet/default.nix
··· 41 41 desktopName = "Wasabi"; 42 42 genericName = "Bitcoin wallet"; 43 43 comment = meta.description; 44 - categories = "Network;Utility;"; 44 + categories = [ "Network" "Utility" ]; 45 45 }; 46 46 47 47 installPhase = ''
+3 -3
pkgs/applications/editors/android-studio/common.nix
··· 164 164 icon = drvName; 165 165 desktopName = "Android Studio (${channel} channel)"; 166 166 comment = "The official Android IDE"; 167 - categories = "Development;IDE;"; 168 - startupNotify = "true"; 169 - extraEntries="StartupWMClass=jetbrains-studio"; 167 + categories = [ "Development" "IDE" ]; 168 + startupNotify = true; 169 + startupWMClass = "jetbrains-studio"; 170 170 }; 171 171 172 172 # Android Studio downloads prebuilt binaries as part of the SDK. These tools
+1 -1
pkgs/applications/editors/eclipse/build-eclipse.nix
··· 14 14 comment = "Integrated Development Environment"; 15 15 desktopName = "Eclipse IDE"; 16 16 genericName = "Integrated Development Environment"; 17 - categories = "Development;"; 17 + categories = [ "Development" ]; 18 18 }; 19 19 20 20 buildInputs = [
+2 -4
pkgs/applications/editors/jetbrains/common.nix
··· 27 27 comment = lib.replaceChars ["\n"] [" "] meta.longDescription; 28 28 desktopName = product; 29 29 genericName = meta.description; 30 - categories = "Development;"; 30 + categories = [ "Development" ]; 31 31 icon = mainProgram; 32 - extraEntries = '' 33 - StartupWMClass=${wmClass} 34 - ''; 32 + startupWMClass = wmClass; 35 33 }; 36 34 37 35 vmoptsFile = optionalString (vmopts != null) (writeText vmoptsName vmopts);
+1 -1
pkgs/applications/editors/kodestudio/default.nix
··· 39 39 comment = "Kode Studio is an IDE for Kha based on Visual Studio Code"; 40 40 desktopName = "Kode Studio"; 41 41 genericName = "Text Editor"; 42 - categories = "GNOME;GTK;Utility;TextEditor;Development;"; 42 + categories = [ "GNOME" "GTK" "Utility" "TextEditor" "Development" ]; 43 43 }; 44 44 45 45 sourceRoot = ".";
+3 -5
pkgs/applications/editors/leo-editor/default.nix
··· 24 24 comment = meta.description; 25 25 desktopName = "Leo"; 26 26 genericName = "Text Editor"; 27 - categories = lib.concatStringsSep ";" [ 28 - "Application" "Development" "IDE" 29 - ]; 30 - startupNotify = "false"; 31 - mimeType = lib.concatStringsSep ";" [ 27 + categories = [ "Application" "Development" "IDE" ]; 28 + startupNotify = false; 29 + mimeTypes = [ 32 30 "text/plain" "text/asp" "text/x-c" "text/x-script.elisp" "text/x-fortran" 33 31 "text/html" "application/inf" "text/x-java-source" "application/x-javascript" 34 32 "application/javascript" "text/ecmascript" "application/x-ksh" "text/x-script.ksh"
+1 -1
pkgs/applications/editors/netbeans/default.nix
··· 10 10 comment = "Integrated Development Environment"; 11 11 desktopName = "Apache NetBeans IDE"; 12 12 genericName = "Integrated Development Environment"; 13 - categories = "Development;"; 13 + categories = [ "Development" ]; 14 14 icon = "netbeans"; 15 15 }; 16 16 in
+1 -1
pkgs/applications/editors/quartus-prime/default.nix
··· 10 10 icon = "quartus"; 11 11 desktopName = "Quartus"; 12 12 genericName = "Quartus Prime"; 13 - categories = "Development;"; 13 + categories = [ "Development" ]; 14 14 }; 15 15 # I think modelsim_ase/linux/vlm checksums itself, so use FHSUserEnv instead of `patchelf` 16 16 in buildFHSUserEnv rec {
+7 -2
pkgs/applications/editors/rstudio/default.nix
··· 227 227 desktopName = "RStudio"; 228 228 genericName = "IDE"; 229 229 comment = description; 230 - categories = "Development;"; 231 - mimeType = "text/x-r-source;text/x-r;text/x-R;text/x-r-doc;text/x-r-sweave;text/x-r-markdown;text/x-r-html;text/x-r-presentation;application/x-r-data;application/x-r-project;text/x-r-history;text/x-r-profile;text/x-tex;text/x-markdown;text/html;text/css;text/javascript;text/x-chdr;text/x-csrc;text/x-c++hdr;text/x-c++src;"; 230 + categories = [ "Development" ]; 231 + mimeTypes = [ 232 + "text/x-r-source" "text/x-r" "text/x-R" "text/x-r-doc" "text/x-r-sweave" "text/x-r-markdown" 233 + "text/x-r-html" "text/x-r-presentation" "application/x-r-data" "application/x-r-project" 234 + "text/x-r-history" "text/x-r-profile" "text/x-tex" "text/x-markdown" "text/html" 235 + "text/css" "text/javascript" "text/x-chdr" "text/x-csrc" "text/x-c++hdr" "text/x-c++src" 236 + ]; 232 237 }) 233 238 ]; 234 239 })
+1 -1
pkgs/applications/editors/sublime/2/default.nix
··· 55 55 comment = meta.description; 56 56 desktopName = "Sublime Text"; 57 57 genericName = "Text Editor"; 58 - categories = "TextEditor;Development;"; 58 + categories = [ "TextEditor" "Development" ]; 59 59 icon = "sublime_text"; 60 60 }; 61 61
+1 -1
pkgs/applications/editors/thonny/default.nix
··· 21 21 icon = "thonny"; 22 22 desktopName = "Thonny"; 23 23 comment = "Python IDE for beginners"; 24 - categories = "Development;IDE"; 24 + categories = [ "Development" "IDE" ]; 25 25 }) ]; 26 26 27 27 propagatedBuildInputs = with python3.pkgs; [
+4 -8
pkgs/applications/editors/vis/default.nix
··· 50 50 comment = meta.description; 51 51 desktopName = "vis"; 52 52 genericName = "Text editor"; 53 - categories = lib.concatStringsSep ";" [ 54 - "Application" "Development" "IDE" 55 - ]; 56 - mimeType = lib.concatStringsSep ";" [ 57 - "text/plain" "application/octet-stream" 58 - ]; 59 - startupNotify = "false"; 60 - terminal = "true"; 53 + categories = [ "Application" "Development" "IDE" ]; 54 + mimeTypes = [ "text/plain" "application/octet-stream" ]; 55 + startupNotify = false; 56 + terminal = true; 61 57 }; 62 58 63 59 meta = with lib; {
+15 -20
pkgs/applications/editors/vscode/generic.nix
··· 37 37 genericName = "Text Editor"; 38 38 exec = "${executableName} %F"; 39 39 icon = "code"; 40 - startupNotify = "true"; 41 - categories = "Utility;TextEditor;Development;IDE;"; 42 - mimeType = "text/plain;inode/directory;"; 43 - extraEntries = '' 44 - StartupWMClass=${shortName} 45 - Actions=new-empty-window; 46 - Keywords=vscode; 47 - 48 - [Desktop Action new-empty-window] 49 - Name=New Empty Window 50 - Exec=${executableName} --new-window %F 51 - Icon=code 52 - ''; 40 + startupNotify = true; 41 + startupWMClass = shortName; 42 + categories = [ "Utility" "TextEditor" "Development" "IDE" ]; 43 + mimeTypes = [ "text/plain" "inode/directory" ]; 44 + keywords = [ "vscode" ]; 45 + actions.new-empty-window = { 46 + name = "New Empty Window"; 47 + exec = "${executableName} --new-window %F"; 48 + icon = "code"; 49 + }; 53 50 }; 54 51 55 52 urlHandlerDesktopItem = makeDesktopItem { ··· 56 59 genericName = "Text Editor"; 57 60 exec = executableName + " --open-url %U"; 58 61 icon = "code"; 59 - startupNotify = "true"; 60 - categories = "Utility;TextEditor;Development;IDE;"; 61 - mimeType = "x-scheme-handler/vscode;"; 62 - extraEntries = '' 63 - NoDisplay=true 64 - Keywords=vscode; 65 - ''; 62 + startupNotify = true; 63 + categories = [ "Utility" "TextEditor" "Development" "IDE" ]; 64 + mimeTypes = [ "x-scheme-handler/vscode" ]; 65 + keywords = [ "vscode" ]; 66 + noDisplay = true; 66 67 }; 67 68 68 69 buildInputs = [ libsecret libXScrnSaver libxshmfence ]
+1 -1
pkgs/applications/editors/xxe-pe/default.nix
··· 19 19 icon = "xxe"; 20 20 desktopName = "xxe"; 21 21 genericName = "XML Editor"; 22 - categories = "Development;IDE;TextEditor;Java"; 22 + categories = [ "Development" "IDE" "TextEditor" "Java" ]; 23 23 }; 24 24 in 25 25 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/emulators/ccemux/default.nix
··· 29 29 comment = "A modular ComputerCraft emulator"; 30 30 desktopName = "CCEmuX"; 31 31 genericName = "ComputerCraft Emulator"; 32 - categories = "Emulator;"; 32 + categories = [ "Emulator" ]; 33 33 }; 34 34 in 35 35
+1 -1
pkgs/applications/emulators/dosbox-staging/default.nix
··· 75 75 comment = "x86 dos emulator enhanced"; 76 76 desktopName = "DosBox-Staging"; 77 77 genericName = "DOS emulator"; 78 - categories = "Emulator;Game;"; 78 + categories = [ "Emulator" "Game" ]; 79 79 }) 80 80 ]; 81 81
+1 -1
pkgs/applications/emulators/dosbox/default.nix
··· 47 47 comment = "x86 dos emulator"; 48 48 desktopName = "DOSBox"; 49 49 genericName = "DOS emulator"; 50 - categories = "Emulator;Game;"; 50 + categories = [ "Emulator" "Game" ]; 51 51 }) 52 52 ]; 53 53
+1 -1
pkgs/applications/emulators/mame/default.nix
··· 26 26 exec = "mame${lib.optionalString stdenv.is64bit "64"}"; 27 27 desktopName = "MAME"; 28 28 genericName = "MAME is a multi-purpose emulation framework"; 29 - categories = "System;Emulator;"; 29 + categories = [ "System" "Emulator" ]; 30 30 }; 31 31 32 32 dest = "$out/opt/mame";
+2 -2
pkgs/applications/emulators/mgba/default.nix
··· 57 57 comment = "A Game Boy Advance Emulator"; 58 58 desktopName = "mgba"; 59 59 genericName = "Game Boy Advance Emulator"; 60 - categories = "Game;Emulator;"; 61 - startupNotify = "false"; 60 + categories = [ "Game" "Emulator" ]; 61 + startupNotify = false; 62 62 }) 63 63 ]; 64 64
+1 -1
pkgs/applications/emulators/ryujinx/default.nix
··· 74 74 icon = "ryujinx"; 75 75 comment = meta.description; 76 76 type = "Application"; 77 - categories = "Game;"; 77 + categories = [ "Game" ]; 78 78 })]; 79 79 80 80 meta = with lib; {
+1 -1
pkgs/applications/emulators/vice/default.nix
··· 65 65 comment = "Commodore 64 emulator"; 66 66 desktopName = "VICE"; 67 67 genericName = "Commodore 64 emulator"; 68 - categories = "Emulator;"; 68 + categories = [ "Emulator" ]; 69 69 }; 70 70 71 71 preBuild = ''
+1 -1
pkgs/applications/emulators/zsnes/default.nix
··· 9 9 comment = "A SNES emulator"; 10 10 desktopName = "zsnes"; 11 11 genericName = "zsnes"; 12 - categories = "Game;"; 12 + categories = [ "Game" ]; 13 13 }; 14 14 15 15 in stdenv.mkDerivation {
+3 -7
pkgs/applications/graphics/antimony/default.nix
··· 48 48 genericName = "CAD Application"; 49 49 exec = "antimony %f"; 50 50 icon = "antimony"; 51 - terminal = "false"; 52 - categories = "Graphics;Science;Engineering"; 53 - mimeType = "application/x-extension-sb;application/x-antimony;"; 54 - extraEntries = '' 55 - StartupWMClass=antimony 56 - Version=1.0 57 - ''; 51 + categories = [ "Graphics" "Science" "Engineering" ]; 52 + mimeTypes = [ "application/x-extension-sb" "application/x-antimony" ]; 53 + startupWMClass = "antimony"; 58 54 }) 59 55 ]; 60 56
+1 -1
pkgs/applications/graphics/avocode/default.nix
··· 56 56 icon = "avocode"; 57 57 desktopName = "Avocode"; 58 58 genericName = "Design Inspector"; 59 - categories = "Development;"; 59 + categories = [ "Development" ]; 60 60 comment = "The bridge between designers and developers"; 61 61 }; 62 62
+2 -2
pkgs/applications/graphics/evilpixie/default.nix
··· 16 16 exec = "evilpixie %F"; 17 17 icon = "evilpixie"; 18 18 genericName = "Image Editor"; 19 - categories = "Graphics;2DGraphics;RasterGraphics;"; 20 - mimeType = "image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/x-pcx;image/x-targa;image/x-tga;"; 19 + categories = [ "Graphics" "2DGraphics" "RasterGraphics" ]; 20 + mimeTypes = [ "image/bmp" "image/gif" "image/jpeg" "image/jpg" "image/png" "image/x-pcx" "image/x-targa" "image/x-tga" ]; 21 21 }; 22 22 23 23 in mkDerivation rec {
+4 -9
pkgs/applications/graphics/fiji/default.nix
··· 26 26 (makeDesktopItem { 27 27 name = "fiji"; 28 28 exec = "fiji %F"; 29 + tryExec = "fiji"; 29 30 icon = "fiji"; 30 - mimeType = "image/*;"; 31 + mimeTypes = [ "image/*" ]; 31 32 comment = "Scientific Image Analysis"; 32 33 desktopName = "Fiji Is Just ImageJ"; 33 34 genericName = "Fiji Is Just ImageJ"; 34 - categories = "Education;Science;ImageProcessing;"; 35 - terminal = false; 35 + categories = [ "Education" "Science" "ImageProcessing" ]; 36 36 startupNotify = true; 37 - extraEntries = '' 38 - Version=1.0 39 - TryExec=fiji 40 - X-GNOME-FullName=Fiji Is Just ImageJ 41 - StartupWMClass=fiji-Main 42 - ''; 37 + startupWMClass = "fiji-Main"; 43 38 }) 44 39 ]; 45 40
+1 -1
pkgs/applications/graphics/imagej/default.nix
··· 32 32 name = "ImageJ"; 33 33 desktopName = "ImageJ"; 34 34 icon = "imagej"; 35 - categories = "Science;Utility;Graphics;"; 35 + categories = [ "Science" "Utility" "Graphics" ]; 36 36 exec = "imagej"; 37 37 }) 38 38 ];
+4 -6
pkgs/applications/graphics/ipe/default.nix
··· 60 60 comment = "A drawing editor for creating figures in PDF format"; 61 61 exec = "ipe"; 62 62 icon = "ipe"; 63 - mimeType = "text/xml;application/pdf"; 64 - categories = "Graphics;Qt;"; 65 - extraDesktopEntries = { 66 - StartupWMClass = "ipe"; 67 - StartupNotify = "true"; 68 - }; 63 + mimeTypes = [ "text/xml" "application/pdf" ]; 64 + categories = [ "Graphics" "Qt" ]; 65 + startupNotify = true; 66 + startupWMClass = "ipe"; 69 67 }) 70 68 ]; 71 69
+2 -2
pkgs/applications/graphics/openboard/default.nix
··· 79 79 icon = "OpenBoard"; 80 80 comment = "OpenBoard, an interactive white board application"; 81 81 desktopName = "OpenBoard"; 82 - mimeType = "application/ubz"; 83 - categories = "Education;"; 82 + mimeTypes = [ "application/ubz" ]; 83 + categories = [ "Education" ]; 84 84 startupNotify = true; 85 85 }) 86 86 ];
+1 -1
pkgs/applications/graphics/swingsane/default.nix
··· 27 27 desktopName = "SwingSane"; 28 28 genericName = "Scan from local or remote SANE servers"; 29 29 comment = meta.description; 30 - categories = "Office;"; 30 + categories = [ "Office" ]; 31 31 }; 32 32 33 33 in ''
+1 -1
pkgs/applications/graphics/write_stylus/default.nix
··· 7 7 icon = "write_stylus"; 8 8 desktopName = "Write"; 9 9 genericName = "Write"; 10 - categories = "Office;Graphics"; 10 + categories = [ "Office" "Graphics" ]; 11 11 }; 12 12 in 13 13 mkDerivation rec {
+2 -2
pkgs/applications/graphics/xournal/default.nix
··· 35 35 icon = "xournal"; 36 36 desktopName = "Xournal"; 37 37 comment = meta.description; 38 - categories = "Office;Graphics;"; 39 - mimeType = "application/pdf;application/x-xoj"; 38 + categories = [ "Office" "Graphics" ]; 39 + mimeTypes = [ "application/pdf" "application/x-xoj" ]; 40 40 genericName = "PDF Editor"; 41 41 }; 42 42
+16 -20
pkgs/applications/misc/azuredatastudio/default.nix
··· 32 32 genericName = "Text Editor"; 33 33 exec = "azuredatastudio --no-sandbox --unity-launch %F"; 34 34 icon = "azuredatastudio"; 35 - startupNotify = "true"; 36 - categories = "Utility;TextEditor;Development;IDE;"; 37 - mimeType = "text/plain;inode/directory;application/x-azuredatastudio-workspace;"; 38 - extraEntries = '' 39 - StartupWMClass=azuredatastudio 40 - Actions=new-empty-window; 41 - Keywords=azuredatastudio; 42 - 43 - [Desktop Action new-empty-window] 44 - Name=New Empty Window 45 - Exec=azuredatastudio --no-sandbox --new-window %F 46 - Icon=azuredatastudio 47 - ''; 35 + startupNotify = true; 36 + startupWMClass = "azuredatastudio"; 37 + categories = [ "Utility" "TextEditor" "Development" "IDE" ]; 38 + mimeTypes = [ "text/plain" "inode/directory" "application/x-azuredatastudio-workspace" ]; 39 + keywords = [ "azuredatastudio" ]; 40 + actions.new-empty-window = { 41 + name = "New Empty Window"; 42 + exec = "azuredatastudio --no-sandbox --new-window %F"; 43 + icon = "azuredatastudio"; 44 + }; 48 45 }; 49 46 50 47 urlHandlerDesktopItem = makeDesktopItem { ··· 51 54 genericName = "Text Editor"; 52 55 exec = "azuredatastudio --no-sandbox --open-url %U"; 53 56 icon = "azuredatastudio"; 54 - startupNotify = "true"; 55 - categories = "Utility;TextEditor;Development;IDE;"; 56 - mimeType = "x-scheme-handler/azuredatastudio;"; 57 - extraEntries = '' 58 - NoDisplay=true 59 - Keywords=azuredatastudio; 60 - ''; 57 + startupNotify = true; 58 + startupWMClass = "azuredatastudio"; 59 + categories = [ "Utility" "TextEditor" "Development" "IDE" ]; 60 + mimeTypes = [ "x-scheme-handler/azuredatastudio" ]; 61 + keywords = [ "azuredatastudio" ]; 62 + noDisplay = true; 61 63 }; 62 64 in 63 65 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/misc/cubiomes-viewer/default.nix
··· 35 35 desktopName = "Cubiomes Viewer"; 36 36 exec = pname; 37 37 icon = pname; 38 - categories = "Game"; 38 + categories = [ "Game" ]; 39 39 comment = meta.description; 40 40 }) ]; 41 41
+1 -1
pkgs/applications/misc/cura/stable.nix
··· 18 18 comment = "Cura"; 19 19 desktopName = "Cura"; 20 20 genericName = "3D printing host software"; 21 - categories = "GNOME;GTK;Utility;"; 21 + categories = [ "GNOME" "GTK" "Utility" ]; 22 22 }; 23 23 24 24 python_deps = with python27Packages; [ pyopengl pyserial numpy wxPython30 power setuptools ];
+1 -1
pkgs/applications/misc/dbeaver/default.nix
··· 84 84 desktopName = "dbeaver"; 85 85 comment = "SQL Integrated Development Environment"; 86 86 genericName = "SQL Integrated Development Environment"; 87 - categories = "Development;"; 87 + categories = [ "Development" ]; 88 88 }) 89 89 ]; 90 90
+2 -4
pkgs/applications/misc/free42/default.nix
··· 74 74 exec = "free42bin"; 75 75 type = "Application"; 76 76 comment = meta.description; 77 - categories = "Utility;Calculator;"; 78 - terminal = "false"; 77 + categories = [ "Utility" "Calculator" ]; 79 78 }) 80 79 (makeDesktopItem { 81 80 name = "com.thomasokken.free42dec"; ··· 83 84 exec = "free42dec"; 84 85 type = "Application"; 85 86 comment = meta.description; 86 - categories = "Utility;Calculator;"; 87 - terminal = "false"; 87 + categories = [ "Utility" "Calculator" ]; 88 88 }) 89 89 ]; 90 90
+1 -1
pkgs/applications/misc/ganttproject-bin/default.nix
··· 24 24 desktopName = "GanttProject"; 25 25 genericName = "Shedule and manage projects"; 26 26 comment = meta.description; 27 - categories = "Office;"; 27 + categories = [ "Office" ]; 28 28 }; 29 29 30 30 javaOptions = [
+1 -1
pkgs/applications/misc/gkrellm/default.nix
··· 56 56 desktopName = "GKrellM"; 57 57 genericName = "System monitor"; 58 58 comment = "The GNU Krell Monitors"; 59 - categories = "System;Monitor;"; 59 + categories = [ "System" "Monitor" ]; 60 60 }) 61 61 ]; 62 62
+1 -1
pkgs/applications/misc/golden-cheetah/default.nix
··· 12 12 desktopName = "GoldenCheetah"; 13 13 genericName = "GoldenCheetah"; 14 14 comment = "Performance software for cyclists, runners and triathletes"; 15 - categories = "Utility;"; 15 + categories = [ "Utility" ]; 16 16 }; 17 17 in mkDerivation rec { 18 18 pname = "golden-cheetah";
+1 -1
pkgs/applications/misc/gpsprune/default.nix
··· 22 22 desktopName = "GpsPrune"; 23 23 genericName = "GPS Data Editor"; 24 24 comment = meta.description; 25 - categories = "Education;Geoscience;"; 25 + categories = [ "Education" "Geoscience" ]; 26 26 }) 27 27 ]; 28 28
+2 -2
pkgs/applications/misc/ideamaker/default.nix
··· 63 63 icon = pname; 64 64 desktopName = "Ideamaker"; 65 65 genericName = meta.description; 66 - categories = "Utility;Viewer;Engineering;"; 67 - mimeType = "application/sla"; 66 + categories = [ "Utility" "Viewer" "Engineering" ]; 67 + mimeTypes = [ "application/sla" ]; 68 68 }; 69 69 70 70 meta = with lib; {
+1 -1
pkgs/applications/misc/ipmiview/default.nix
··· 44 44 exec = "IPMIView"; 45 45 desktopName = name; 46 46 genericName = "Supermicro BMC manager"; 47 - categories = "Network"; 47 + categories = [ "Network" ]; 48 48 }; 49 49 50 50 installPhase = ''
+2 -5
pkgs/applications/misc/keepass/default.nix
··· 69 69 icon = "keepass"; 70 70 desktopName = "Keepass"; 71 71 genericName = "Password manager"; 72 - categories = "Utility;"; 73 - mimeType = lib.concatStringsSep ";" [ 74 - "application/x-keepass2" 75 - "" 76 - ]; 72 + categories = [ "Utility" ]; 73 + mimeTypes = [ "application/x-keepass2" ]; 77 74 }; 78 75 79 76 outputFiles = [
+1 -1
pkgs/applications/misc/lsd2dsl/default.nix
··· 25 25 desktopName = "lsd2dsl"; 26 26 genericName = "lsd2dsl"; 27 27 comment = meta.description; 28 - categories = "Dictionary;FileTools;Qt;"; 28 + categories = [ "Dictionary" "FileTools" "Qt" ]; 29 29 }); 30 30 31 31 installPhase = ''
-1
pkgs/applications/misc/michabo/default.nix
··· 10 10 11 11 let 12 12 desktopItem = makeDesktopItem { 13 - type = "Application"; 14 13 name = "Michabo"; 15 14 desktopName = "Michabo"; 16 15 exec = "Michabo";
+1 -1
pkgs/applications/misc/obinskit/default.nix
··· 15 15 icon = "obinskit"; 16 16 desktopName = "Obinskit"; 17 17 genericName = "Obinskit keyboard configurator"; 18 - categories = "Utility"; 18 + categories = [ "Utility" ]; 19 19 }; 20 20 electron = electron_13; 21 21 in
+1 -1
pkgs/applications/misc/obsidian/default.nix
··· 15 15 comment = "Knowledge base"; 16 16 icon = "obsidian"; 17 17 exec = "obsidian"; 18 - categories = "Office"; 18 + categories = [ "Office" ]; 19 19 }; 20 20 21 21 updateScript = writeScript "obsidian-updater" ''
+1 -1
pkgs/applications/misc/opentrack/default.nix
··· 45 45 }; 46 46 desktopName = name; 47 47 genericName = "Head tracking software"; 48 - categories = "Utility;"; 48 + categories = [ "Utility" ]; 49 49 }) 50 50 ]; 51 51
+2 -2
pkgs/applications/misc/pdfsam-basic/default.nix
··· 35 35 comment = meta.description; 36 36 desktopName = "PDFsam Basic"; 37 37 genericName = "PDF Split and Merge"; 38 - mimeType = "application/pdf;"; 39 - categories = "Office;"; 38 + mimeTypes = [ "application/pdf" ]; 39 + categories = [ "Office" ]; 40 40 }; 41 41 42 42 meta = with lib; {
+2 -4
pkgs/applications/misc/pdfstudio/common.nix
··· 40 40 exec = "${pname} %f"; 41 41 icon = "${pname}${year}"; 42 42 comment = "Views and edits PDF files"; 43 - mimeType = "application/pdf"; 44 - categories = "Office"; 45 - type = "Application"; 46 - terminal = false; 43 + mimeTypes = [ "application/pdf" ]; 44 + categories = [ "Office" ]; 47 45 }) 48 46 ]; 49 47
+2 -3
pkgs/applications/misc/pgadmin/default.nix
··· 52 52 genericName = "SQL Administration"; 53 53 exec = "pgadmin3"; 54 54 icon = "pgAdmin3"; 55 - type = "Application"; 56 - categories = "Development;"; 57 - mimeType = "text/html"; 55 + categories = [ "Development" ]; 56 + mimeTypes = [ "text/html" ]; 58 57 }; 59 58 in '' 60 59 mkdir -p $out/share/pixmaps;
+1 -1
pkgs/applications/misc/plater/default.nix
··· 28 28 icon = pname; 29 29 desktopName = "Ideamaker"; 30 30 genericName = meta.description; 31 - categories = "Utility;Engineering;"; 31 + categories = ["Utility" "Engineering"]; 32 32 }; 33 33 34 34 postInstall = ''
+1 -1
pkgs/applications/misc/premid/default.nix
··· 77 77 icon = pname; 78 78 desktopName = "PreMiD"; 79 79 genericName = meta.description; 80 - mimeType = "x-scheme-handler/premid"; 80 + mimeTypes = [ "x-scheme-handler/premid" ]; 81 81 }) 82 82 ]; 83 83
+2 -2
pkgs/applications/misc/prusa-slicer/default.nix
··· 99 99 comment = "G-code generator for 3D printers"; 100 100 desktopName = "PrusaSlicer"; 101 101 genericName = "3D printer tool"; 102 - categories = "Development;"; 102 + categories = [ "Development" ]; 103 103 }) 104 104 (makeDesktopItem { 105 105 name = "PrusaSlicer G-code Viewer"; ··· 108 108 comment = "G-code viewer for 3D printers"; 109 109 desktopName = "PrusaSlicer G-code Viewer"; 110 110 genericName = "G-code Viewer"; 111 - categories = "Development;"; 111 + categories = [ "Development" ]; 112 112 }) 113 113 ]; 114 114
+1 -1
pkgs/applications/misc/prusa-slicer/super-slicer.nix
··· 39 39 comment = description; 40 40 desktopName = appname; 41 41 genericName = "3D printer tool"; 42 - categories = "Development;"; 42 + categories = [ "Development" ]; 43 43 }) 44 44 ]; 45 45
+1 -1
pkgs/applications/misc/robo3t/default.nix
··· 40 40 comment = "Query GUI for mongodb"; 41 41 desktopName = "Robo3T"; 42 42 genericName = "MongoDB management tool"; 43 - categories = "Development;IDE;"; 43 + categories = [ "Development" "IDE" ]; 44 44 }; 45 45 46 46 nativeBuildInputs = [ makeWrapper ];
+1 -1
pkgs/applications/misc/sidequest/default.nix
··· 8 8 exec = "SideQuest"; 9 9 desktopName = name; 10 10 genericName = "VR App Store"; 11 - categories = "Settings;PackageManager;"; 11 + categories = [ "Settings" "PackageManager" ]; 12 12 }; 13 13 14 14 sidequest = stdenv.mkDerivation {
+2 -3
pkgs/applications/misc/simplenote/default.nix
··· 46 46 }; 47 47 48 48 desktopItem = makeDesktopItem { 49 - categories = "Development"; 49 + categories = [ "Development" ]; 50 50 comment = "Simplenote for Linux"; 51 51 desktopName = "Simplenote"; 52 52 exec = "simplenote %U"; 53 53 icon = "simplenote"; 54 54 name = "simplenote"; 55 - startupNotify = "true"; 56 - type = "Application"; 55 + startupNotify = true; 57 56 }; 58 57 59 58 dontBuild = true;
+1 -1
pkgs/applications/misc/slic3r/default.nix
··· 30 30 comment = "G-code generator for 3D printers"; 31 31 desktopName = "Slic3r"; 32 32 genericName = "3D printer tool"; 33 - categories = "Development;"; 33 + categories = [ "Development" ]; 34 34 }; 35 35 36 36 prePatch = ''
+1 -1
pkgs/applications/misc/snapmaker-luban/default.nix
··· 74 74 icon = "snapmaker-luban"; 75 75 desktopName = "Snapmaker Luban"; 76 76 genericName = meta.description; 77 - categories = "Office;Printing;"; 77 + categories = [ "Office" "Printing" ]; 78 78 }) 79 79 ]; 80 80
+1 -1
pkgs/applications/misc/stretchly/default.nix
··· 59 59 icon = icon; 60 60 desktopName = "Stretchly"; 61 61 genericName = "Stretchly"; 62 - categories = "Utility;"; 62 + categories = [ "Utility" ]; 63 63 }; 64 64 65 65 meta = with lib; {
+1 -1
pkgs/applications/misc/sweethome3d/default.nix
··· 37 37 icon = pname; 38 38 comment = description; 39 39 genericName = "Computer Aided (Interior) Design"; 40 - categories = "Graphics;2DGraphics;3DGraphics;"; 40 + categories = [ "Graphics" "2DGraphics" "3DGraphics" ]; 41 41 }; 42 42 43 43 postPatch = ''
+1 -1
pkgs/applications/misc/sweethome3d/editors.nix
··· 40 40 name = pname; 41 41 comment = description; 42 42 genericName = "Computer Aided (Interior) Design"; 43 - categories = "Graphics;2DGraphics;3DGraphics;"; 43 + categories = [ "Graphics" "2DGraphics" "3DGraphics" ]; 44 44 }; 45 45 46 46 nativeBuildInputs = [ makeWrapper unzip ];
-1
pkgs/applications/misc/teleprompter/default.nix
··· 30 30 desktopItem = makeDesktopItem { 31 31 name = "teleprompter"; 32 32 exec = "teleprompter"; 33 - type = "Application"; 34 33 desktopName = "Teleprompter"; 35 34 }; 36 35
+1 -1
pkgs/applications/misc/toggldesktop/default.nix
··· 133 133 ''; 134 134 135 135 desktopItem = makeDesktopItem rec { 136 - categories = "Utility;"; 136 + categories = [ "Utility" ]; 137 137 desktopName = "Toggl"; 138 138 genericName = desktopName; 139 139 name = "toggldesktop";
+1 -1
pkgs/applications/misc/trenchbroom/default.nix
··· 51 51 desktopName = "TrenchBroom level editor"; 52 52 icon = "trenchbroom"; 53 53 comment = meta.description; 54 - categories = "Development"; 54 + categories = [ "Development" ]; 55 55 exec = "trenchbroom"; 56 56 }) 57 57 ];
+3 -5
pkgs/applications/misc/tvbrowser/bin.nix
··· 8 8 comment = "Themeable and easy to use TV Guide"; 9 9 desktopName = "TV-Browser"; 10 10 genericName = "Electronic TV Program Guide"; 11 - categories = "AudioVideo;TV;Java;"; 12 - startupNotify = "true"; 13 - extraEntries = '' 14 - StartupWMClass=tvbrowser-TVBrowser 15 - ''; 11 + categories = [ "AudioVideo" "TV" "Java" ]; 12 + startupNotify = true; 13 + startupWMClass = "tvbrowser-TVBrowser"; 16 14 }; 17 15 18 16 in stdenv.mkDerivation rec {
+2 -2
pkgs/applications/misc/xmind/default.nix
··· 33 33 icon = "xmind"; 34 34 desktopName = "XMind"; 35 35 comment = meta.description; 36 - categories = "Office;"; 37 - mimeType = "application/xmind;x-scheme-handler/xmind"; 36 + categories = [ "Office" ]; 37 + mimeTypes = [ "application/xmind" "x-scheme-handler/xmind" ]; 38 38 }; 39 39 40 40 installPhase = let
+1 -2
pkgs/applications/misc/xpdf/default.nix
··· 42 42 comment = "Views Adobe PDF files"; 43 43 icon = "xpdf"; 44 44 exec = "xpdf %f"; 45 - categories = "Office;"; 46 - terminal = "false"; 45 + categories = [ "Office" ]; 47 46 }; 48 47 49 48 postInstall = lib.optionalString (!stdenv.isDarwin) ''
+2 -2
pkgs/applications/networking/aether/default.nix
··· 63 63 icon = pname; 64 64 desktopName = "Aether"; 65 65 genericName = meta.description; 66 - categories = "Network;"; 67 - mimeType = "x-scheme-handler/aether"; 66 + categories = [ "Network" ]; 67 + mimeTypes = [ "x-scheme-handler/aether" ]; 68 68 }) 69 69 ]; 70 70
+1 -1
pkgs/applications/networking/apache-directory-studio/default.nix
··· 20 20 comment = "Eclipse-based LDAP browser and directory client"; 21 21 desktopName = "Apache Directory Studio"; 22 22 genericName = "Apache Directory Studio"; 23 - categories = "Java;Network"; 23 + categories = [ "Java" "Network" ]; 24 24 }; 25 25 26 26 buildInputs = [ glib libsecret ];
+2 -3
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 159 159 name = applicationName; 160 160 exec = "${applicationName}${nameSuffix} %U"; 161 161 inherit icon; 162 - comment = ""; 163 162 desktopName = "${desktopName}${nameSuffix}${lib.optionalString forceWayland " (Wayland)"}"; 164 163 genericName = "Web Browser"; 165 - categories = "Network;WebBrowser;"; 166 - mimeType = lib.concatStringsSep ";" [ 164 + categories = [ "Network" "WebBrowser" ]; 165 + mimeTypes = [ 167 166 "text/html" 168 167 "text/xml" 169 168 "application/xhtml+xml"
+1 -1
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
··· 125 125 desktopName = "Tor Browser"; 126 126 genericName = "Web Browser"; 127 127 comment = meta.description; 128 - categories = "Network;WebBrowser;Security;"; 128 + categories = [ "Network" "WebBrowser" "Security" ]; 129 129 }; 130 130 131 131 buildCommand = ''
+2 -2
pkgs/applications/networking/browsers/vieb/default.nix
··· 24 24 icon = "vieb"; 25 25 desktopName = "Web Browser"; 26 26 genericName = "Web Browser"; 27 - categories = "Network;WebBrowser;"; 28 - mimeType = lib.concatStringsSep ";" [ 27 + categories = [ "Network" "WebBrowser" ]; 28 + mimeTypes = [ 29 29 "text/html" 30 30 "application/xhtml+xml" 31 31 "x-scheme-handler/http"
+2 -2
pkgs/applications/networking/browsers/webbrowser/default.nix
··· 29 29 icon = "webbrowser"; 30 30 desktopName = "Web Browser"; 31 31 genericName = "Web Browser"; 32 - categories = "Network;WebBrowser;"; 33 - mimeType = lib.concatStringsSep ";" [ 32 + categories = [ "Network" "WebBrowser" ]; 33 + mimeTypes = [ 34 34 "text/html" 35 35 "text/xml" 36 36 "application/xhtml+xml"
+10 -3
pkgs/applications/networking/charles/default.nix
··· 11 11 generic = { version, sha256, platform ? "", jdk, ... }@attrs: 12 12 let 13 13 desktopItem = makeDesktopItem { 14 - categories = "Network;Development;WebDevelopment;Java;"; 14 + categories = [ "Network" "Development" "WebDevelopment" "Java" ]; 15 15 desktopName = "Charles"; 16 16 exec = "charles %F"; 17 17 genericName = "Web Debugging Proxy"; 18 18 icon = "charles-proxy"; 19 - mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace"; 19 + mimeTypes = [ 20 + "application/x-charles-savedsession" 21 + "application/x-charles-savedsession+xml" 22 + "application/x-charles-savedsession+json" 23 + "application/har+json" 24 + "application/vnd.tcpdump.pcap" 25 + "application/x-charles-trace" 26 + ]; 20 27 name = "Charles"; 21 - startupNotify = "true"; 28 + startupNotify = true; 22 29 }; 23 30 24 31 in stdenv.mkDerivation {
+1 -1
pkgs/applications/networking/cisco-packet-tracer/7.nix
··· 38 38 desktopName = "Cisco Packet Tracer 7"; 39 39 icon = "${ptFiles}/opt/pt/art/app.png"; 40 40 exec = "packettracer7 %f"; 41 - mimeType = "application/x-pkt;application/x-pka;application/x-pkz;"; 41 + mimeTypes = [ "application/x-pkt" "application/x-pka" "application/x-pkz" ]; 42 42 }; 43 43 44 44 fhs = buildFHSUserEnvBubblewrap {
+1 -1
pkgs/applications/networking/cisco-packet-tracer/8.nix
··· 94 94 desktopName = "Cisco Packet Tracer 8"; 95 95 icon = "${ptFiles}/opt/pt/art/app.png"; 96 96 exec = "packettracer8 %f"; 97 - mimeType = "application/x-pkt;application/x-pka;application/x-pkz;"; 97 + mimeTypes = [ "application/x-pkt" "application/x-pka" "application/x-pkz" ]; 98 98 }; 99 99 100 100 fhs = buildFHSUserEnvBubblewrap {
+2 -2
pkgs/applications/networking/dropbox/default.nix
··· 24 24 comment = "Sync your files across computers and to the web"; 25 25 desktopName = "Dropbox"; 26 26 genericName = "File Synchronizer"; 27 - categories = "Network;FileTransfer;"; 28 - startupNotify = "false"; 27 + categories = [ "Network" "FileTransfer" ]; 28 + startupNotify = false; 29 29 icon = "dropbox"; 30 30 }; 31 31 in
+3 -5
pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix
··· 103 103 desktopName = "Delta Chat"; 104 104 genericName = "Delta Chat"; 105 105 comment = meta.description; 106 - categories = "Network;InstantMessaging;Chat;"; 107 - extraEntries = '' 108 - StartupWMClass=DeltaChat 109 - MimeType=x-scheme-handler/openpgp4fpr;x-scheme-handler/mailto; 110 - ''; 106 + categories = [ "Network" "InstantMessaging" "Chat" ]; 107 + startupWMClass = "DeltaChat"; 108 + mimeTypes = [ "x-scheme-handler/openpgp4fpr" "x-scheme-handler/mailto" ]; 111 109 }); 112 110 113 111 passthru.updateScript = ./update.sh;
+2 -2
pkgs/applications/networking/instant-messengers/discord/linux.nix
··· 100 100 icon = pname; 101 101 inherit desktopName; 102 102 genericName = meta.description; 103 - categories = "Network;InstantMessaging;"; 104 - mimeType = "x-scheme-handler/discord"; 103 + categories = [ "Network" "InstantMessaging" ]; 104 + mimeTypes = [ "x-scheme-handler/discord" ]; 105 105 }; 106 106 107 107 passthru.updateScript = writeScript "discord-update-script" ''
+3 -5
pkgs/applications/networking/instant-messengers/element/element-desktop.nix
··· 106 106 desktopName = "Element"; 107 107 genericName = "Matrix Client"; 108 108 comment = meta.description; 109 - categories = "Network;InstantMessaging;Chat;"; 110 - extraEntries = '' 111 - StartupWMClass=element 112 - MimeType=x-scheme-handler/element; 113 - ''; 109 + categories = [ "Network" "InstantMessaging" "Chat" ]; 110 + startupWMClass = "element"; 111 + mimeTypes = [ "x-scheme-handler/element" ]; 114 112 }; 115 113 116 114 passthru = {
+1 -1
pkgs/applications/networking/instant-messengers/gitter/default.nix
··· 88 88 icon = pname; 89 89 desktopName = "Gitter"; 90 90 genericName = meta.description; 91 - categories = "Network;InstantMessaging;"; 91 + categories = [ "Network" "InstantMessaging" ]; 92 92 }; 93 93 94 94 meta = with lib; {
+2 -2
pkgs/applications/networking/instant-messengers/gomuks/default.nix
··· 40 40 makeDesktopItem { 41 41 name = "net.maunium.gomuks.desktop"; 42 42 exec = "@out@/bin/gomuks"; 43 - terminal = "true"; 43 + terminal = true; 44 44 desktopName = "Gomuks"; 45 45 genericName = "Matrix client"; 46 - categories = "Network;Chat"; 46 + categories = [ "Network" "Chat" ]; 47 47 comment = meta.description; 48 48 } 49 49 }/* $out/
+1 -1
pkgs/applications/networking/instant-messengers/jitsi/default.nix
··· 21 21 comment = "VoIP and Instant Messaging client"; 22 22 desktopName = "Jitsi"; 23 23 genericName = "Instant Messaging"; 24 - categories = "Chat"; 24 + categories = [ "Chat" ]; 25 25 }; 26 26 27 27 libPath = lib.makeLibraryPath ([
+2 -2
pkgs/applications/networking/instant-messengers/mikutter/default.nix
··· 49 49 desktopName = "mikutter"; 50 50 exec = "mikutter"; 51 51 icon = "mikutter"; 52 - categories = "Network;"; 52 + categories = [ "Network" ]; 53 53 comment = description; 54 - extraDesktopEntries.Keywords = "Mastodon;"; 54 + keywords = [ "Mastodon" ]; 55 55 }; 56 56 57 57 mkInfoPlist = { version }:
+1 -2
pkgs/applications/networking/instant-messengers/rambox/rambox.nix
··· 10 10 name = pname; 11 11 exec = pname; 12 12 icon = pname; 13 - type = "Application"; 14 - categories = "Network;"; 13 + categories = [ "Network" ]; 15 14 }); 16 15 17 16 appimageContents = appimageTools.extractType2 {
+1 -1
pkgs/applications/networking/instant-messengers/ricochet/default.nix
··· 31 31 desktopName = "Ricochet"; 32 32 genericName = "Ricochet"; 33 33 comment = meta.description; 34 - categories = "Office;Email;"; 34 + categories = [ "Office" "Email" ]; 35 35 }; 36 36 37 37 buildInputs = [
+3 -5
pkgs/applications/networking/instant-messengers/schildichat/schildichat-desktop.nix
··· 108 108 desktopName = "SchildiChat"; 109 109 genericName = "Matrix Client"; 110 110 comment = meta.description; 111 - categories = "Network;InstantMessaging;Chat;"; 112 - extraEntries = '' 113 - StartupWMClass=schildichat 114 - MimeType=x-scheme-handler/element; 115 - ''; 111 + categories = [ "Network" "InstantMessaging" "Chat" ]; 112 + startupWMClass = "schildichat"; 113 + mimeTypes = [ "x-scheme-handler/element" ]; 116 114 }) 117 115 ]; 118 116
+1 -1
pkgs/applications/networking/instant-messengers/teamspeak/client.nix
··· 23 23 comment = "The TeamSpeak voice communication tool"; 24 24 desktopName = "TeamSpeak"; 25 25 genericName = "TeamSpeak"; 26 - categories = "Network"; 26 + categories = [ "Network" ]; 27 27 }; 28 28 29 29 fakeLess = writeShellScriptBin "less" "cat";
+2 -2
pkgs/applications/networking/instant-messengers/tensor/default.nix
··· 32 32 comment = meta.description; 33 33 desktopName = "Tensor Matrix Client"; 34 34 genericName = meta.description; 35 - categories = "Chat;Utility"; 36 - mimeType = "application/x-chat"; 35 + categories = [ "Chat" "Utility" ]; 36 + mimeTypes = [ "application/x-chat" ]; 37 37 }; 38 38 39 39 installPhase = if stdenv.isDarwin then ''
+1 -1
pkgs/applications/networking/instant-messengers/wavebox/default.nix
··· 16 16 icon = "wavebox"; 17 17 desktopName = name; 18 18 genericName = name; 19 - categories = "Network;"; 19 + categories = [ "Network" ]; 20 20 }; 21 21 22 22 tarball = "Wavebox_${replaceStrings ["."] ["_"] (toString version)}_linux_${bits}.tar.gz";
+2 -4
pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
··· 68 68 }; 69 69 70 70 desktopItem = makeDesktopItem { 71 - categories = "Network;InstantMessaging;Chat;VideoConference"; 71 + categories = [ "Network" "InstantMessaging" "Chat" "VideoConference" ]; 72 72 comment = "Secure messenger for everyone"; 73 73 desktopName = "Wire"; 74 74 exec = "wire-desktop %U"; 75 75 genericName = "Secure messenger"; 76 76 icon = "wire-desktop"; 77 77 name = "wire-desktop"; 78 - extraEntries = '' 79 - StartupWMClass=Wire 80 - ''; 78 + startupWMClass = "Wire"; 81 79 }; 82 80 83 81 dontBuild = true;
+6 -9
pkgs/applications/networking/ostinato/default.nix
··· 29 29 ''; 30 30 31 31 desktopItem = makeDesktopItem { 32 - type = "Application"; 33 32 name = "ostinato"; 34 33 desktopName = "Ostinato"; 35 34 genericName = "Packet/Traffic Generator and Analyzer"; 36 35 comment = "Network packet and traffic generator and analyzer with a friendly GUI"; 37 - categories = "Network"; 38 - terminal = "false"; 39 - startupNotify = "true"; 36 + categories = [ "Network" ]; 37 + startupNotify = true; 40 38 exec = "$out/bin/ostinato"; 41 39 icon = ostinatoIcon; 42 - extraEntries = '' 43 - GenericName[it]=Generatore ed Analizzatore di pacchetti di rete 44 - Comment[it]=Generatore ed Analizzatore di pacchetti di rete con interfaccia amichevole 45 - ''; 46 - fileValidation = false; 40 + extraConfig = { 41 + "GenericName[it]" = "Generatore ed Analizzatore di pacchetti di rete"; 42 + "Comment[it]" = "Generatore ed Analizzatore di pacchetti di rete con interfaccia amichevole"; 43 + }; 47 44 }; 48 45 49 46 postInstall = ''
+1 -1
pkgs/applications/networking/p2p/frostwire/default.nix
··· 18 18 exec = "frostwire"; 19 19 icon = "frostwire"; 20 20 comment = "Search and explore all kinds of files on the Bittorrent network"; 21 - categories = "Network;FileTransfer;P2P;"; 21 + categories = [ "Network" "FileTransfer" "P2P" ]; 22 22 }; 23 23 24 24 # fake build to pre-download deps into fixed-output derivation
+3 -7
pkgs/applications/networking/p2p/transgui/default.nix
··· 49 49 comment = meta.description; 50 50 desktopName = "Transmission Remote GUI"; 51 51 genericName = "BitTorrent Client"; 52 - categories = lib.concatStringsSep ";" [ 53 - "Application" "Network" "FileTransfer" "P2P" "GTK" 54 - ]; 55 - startupNotify = "true"; 56 - mimeType = lib.concatStringsSep ";" [ 57 - "application/x-bittorrent" "x-scheme-handler/magnet" 58 - ]; 52 + categories = [ "Application" "Network" "FileTransfer" "P2P" "GTK" ]; 53 + startupNotify = true; 54 + mimeTypes = [ "application/x-bittorrent" "x-scheme-handler/magnet" ]; 59 55 }; 60 56 61 57 postInstall = ''
+2 -2
pkgs/applications/networking/remote/anydesk/default.nix
··· 12 12 icon = "anydesk"; 13 13 desktopName = "AnyDesk"; 14 14 genericName = description; 15 - categories = "Network;"; 16 - startupNotify = "false"; 15 + categories = [ "Network" ]; 16 + startupNotify = false; 17 17 }; 18 18 19 19 in stdenv.mkDerivation rec {
+1 -1
pkgs/applications/networking/remote/vmware-horizon-client/default.nix
··· 105 105 desktopName = "VMware Horizon Client"; 106 106 icon = "${vmwareHorizonClientFiles}/share/icons/vmware-view.png"; 107 107 exec = "${vmwareFHSUserEnv "vmware-view"}/bin/vmware-view %u"; 108 - mimeType = "x-scheme-handler/vmware-view"; 108 + mimeTypes = [ "x-scheme-handler/vmware-view" ]; 109 109 }; 110 110 111 111 binLinkCommands = lib.concatMapStringsSep
+1 -1
pkgs/applications/networking/ssb-patchwork/default.nix
··· 26 26 comment = "Client for the decentralized social network Secure Scuttlebutt"; 27 27 desktopName = "Patchwork"; 28 28 genericName = "Patchwork"; 29 - categories = "Network;"; 29 + categories = [ "Network" ]; 30 30 }; 31 31 32 32 in
+3 -6
pkgs/applications/networking/sync/unison/default.nix
··· 60 60 genericName = "File synchronization tool"; 61 61 exec = "unison"; 62 62 icon = "unison"; 63 - categories = "Utility;FileTools;GTK;"; 64 - extraDesktopEntries = { 65 - StartupWMClass = "Unison"; 66 - StartupNotify = "true"; 67 - X-MultipleArgs = "false"; 68 - }; 63 + categories = [ "Utility" "FileTools" "GTK" ]; 64 + startupNotify = true; 65 + startupWMClass = "Unison"; 69 66 }); 70 67 71 68 meta = with lib; {
+1 -1
pkgs/applications/networking/termius/default.nix
··· 24 24 }; 25 25 26 26 desktopItem = makeDesktopItem { 27 - categories = "Network;"; 27 + categories = [ "Network" ]; 28 28 comment = "The SSH client that works on Desktop and Mobile"; 29 29 desktopName = "Termius"; 30 30 exec = "termius-app";
+1 -1
pkgs/applications/office/appflowy/default.nix
··· 62 62 desktopName = "AppFlowy"; 63 63 comment = meta.description; 64 64 exec = "appflowy"; 65 - categories = "Office;"; 65 + categories = [ "Office" ]; 66 66 }) 67 67 ]; 68 68
+1 -1
pkgs/applications/office/jabref/default.nix
··· 17 17 name = "jabref"; 18 18 desktopName = "JabRef"; 19 19 genericName = "Bibliography manager"; 20 - categories = "Office;"; 20 + categories = [ "Office" ]; 21 21 icon = "jabref"; 22 22 exec = "jabref"; 23 23 };
+1 -1
pkgs/applications/office/jameica/default.nix
··· 17 17 comment = "Free Runtime Environment for Java Applications."; 18 18 desktopName = "Jameica"; 19 19 genericName = "Jameica"; 20 - categories = "Office;"; 20 + categories = [ "Office" ]; 21 21 }; 22 22 in 23 23 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/office/portfolio/default.nix
··· 18 18 icon = "portfolio"; 19 19 comment = "Calculate Investment Portfolio Performance"; 20 20 desktopName = "Portfolio Performance"; 21 - categories = "Office;"; 21 + categories = [ "Office" ]; 22 22 }; 23 23 24 24 runtimeLibs = lib.makeLibraryPath [ gtk3 webkitgtk ];
+1 -1
pkgs/applications/office/pyspread/default.nix
··· 46 46 desktopName = "Pyspread"; 47 47 genericName = "Spreadsheet"; 48 48 comment = meta.description; 49 - categories = "Office;Development;Spreadsheet;"; 49 + categories = [ "Office" "Development" "Spreadsheet" ]; 50 50 }) 51 51 ]; 52 52
+70 -18
pkgs/applications/office/softmaker/desktop_items.nix
··· 5 5 name = "${pname}-planmaker"; 6 6 desktopName = "${suiteName} PlanMaker"; 7 7 icon = "${pname}-pml"; 8 - categories = "Office;"; 8 + categories = [ "Office" ]; 9 9 exec = "${pname}-planmaker %F"; 10 - mimeType = "application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;"; 11 - extraEntries = '' 12 - TryExec=${pname}-planmaker 13 - StartupWMClass=pm 14 - ''; 10 + tryExec = "${pname}-planmaker"; 11 + mimeTypes = [ 12 + "application/x-pmd" 13 + "application/x-pmdx" 14 + "application/x-pmv" 15 + "application/excel" 16 + "application/x-excel" 17 + "application/x-ms-excel" 18 + "application/x-msexcel" 19 + "application/x-sylk" 20 + "application/x-xls" 21 + "application/xls" 22 + "application/vnd.ms-excel" 23 + "application/vnd.stardivision.calc" 24 + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" 25 + "application/vnd.openxmlformats-officedocument.spreadsheetml.template" 26 + "application/vnd.ms-excel.sheet.macroenabled.12" 27 + "application/vnd.ms-excel.template.macroEnabled.12" 28 + "application/x-dif;text/spreadsheet;text/csv" 29 + "application/x-prn" 30 + "application/vnd.ms-excel.sheet.binary.macroenabled.12" 31 + ]; 32 + startupWMClass = "pm"; 15 33 }; 16 34 17 35 presentations = makeDesktopItem { 18 36 name = "${pname}-presentations"; 19 37 desktopName = "${suiteName} Presentations"; 20 38 icon = "${pname}-prl"; 21 - categories = "Office;"; 39 + categories = [ "Office" ]; 22 40 exec = "${pname}-presentations %F"; 23 - mimeType = "application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;"; 24 - extraEntries = '' 25 - TryExec=${pname}-presentations 26 - StartupWMClass=pr 27 - ''; 41 + tryExec = "${pname}-presentations"; 42 + mimeTypes = [ 43 + "application/x-prdx" 44 + "application/x-prvx" 45 + "application/x-prsx" 46 + "application/x-prd" 47 + "application/x-prv" 48 + "application/x-prs" 49 + "application/ppt" 50 + "application/mspowerpoint" 51 + "application/vnd.ms-powerpoint" 52 + "application/vnd.openxmlformats-officedocument.presentationml.presentation" 53 + "application/vnd.ms-powerpoint.presentation.macroenabled.12" 54 + "application/vnd.openxmlformats-officedocument.presentationml.template" 55 + "application/vnd.ms-powerpoint.template.macroEnabled.12" 56 + "application/vnd.ms-powerpoint.slideshow.macroenabled.12" 57 + "application/vnd.openxmlformats-officedocument.presentationml.slideshow" 58 + ]; 59 + startupWMClass = "pr"; 28 60 }; 29 61 30 62 textmaker = makeDesktopItem { 31 63 name = "${pname}-textmaker"; 32 64 desktopName = "${suiteName} TextMaker"; 33 65 icon = "${pname}-tml"; 34 - categories = "Office;"; 66 + categories = [ "Office" ]; 35 67 exec = "${pname}-textmaker %F"; 36 - mimeType = "application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;"; 37 - extraEntries = '' 38 - TryExec=${pname}-textmaker 39 - StartupWMClass=tm 40 - ''; 68 + tryExec = "${pname}-textmaker"; 69 + mimeTypes = [ 70 + "application/x-tmdx" 71 + "application/x-tmvx" 72 + "application/x-tmd" 73 + "application/x-tmv" 74 + "application/msword" 75 + "application/vnd.ms-word" 76 + "application/x-doc" 77 + "text/rtf" 78 + "application/rtf" 79 + "application/vnd.oasis.opendocument.text" 80 + "application/vnd.oasis.opendocument.text-template" 81 + "application/vnd.stardivision.writer" 82 + "application/vnd.sun.xml.writer" 83 + "application/vnd.sun.xml.writer.template" 84 + "application/vnd.openxmlformats-officedocument.wordprocessingml.document" 85 + "application/vnd.ms-word.document.macroenabled.12" 86 + "application/vnd.openxmlformats-officedocument.wordprocessingml.template" 87 + "application/vnd.ms-word.template.macroenabled.12" 88 + "application/x-pocket-word" 89 + "application/x-dbf" 90 + "application/msword-template" 91 + ]; 92 + startupWMClass = "tm"; 41 93 }; 42 94 }
+1 -2
pkgs/applications/office/timeline/default.nix
··· 37 37 name = "timeline"; 38 38 comment = "Display and navigate information on a timeline"; 39 39 icon = "timeline"; 40 - terminal = false; 41 40 exec = "timeline"; 42 - categories = "Office;Calendar;"; 41 + categories = [ "Office" "Calendar" ]; 43 42 }) 44 43 ]; 45 44
+1 -1
pkgs/applications/office/trilium/default.nix
··· 8 8 icon = "trilium"; 9 9 comment = description; 10 10 desktopName = "Trilium Notes"; 11 - categories = "Office"; 11 + categories = [ "Office" ]; 12 12 }; 13 13 14 14 meta = with lib; {
+1 -1
pkgs/applications/office/tusk/default.nix
··· 17 17 icon = icon; 18 18 desktopName = pname; 19 19 genericName = "Evernote desktop app"; 20 - categories = "Application"; 20 + categories = [ "Application" ]; 21 21 }; 22 22 23 23 in appimageTools.wrapType2 rec {
+3 -4
pkgs/applications/office/zotero/default.nix
··· 94 94 name = "zotero-${version}"; 95 95 exec = "zotero -url %U"; 96 96 icon = "zotero"; 97 - type = "Application"; 98 97 comment = meta.description; 99 98 desktopName = "Zotero"; 100 99 genericName = "Reference Management"; 101 - categories = "Office;Database;"; 102 - startupNotify = "true"; 103 - mimeType = "text/plain"; 100 + categories = [ "Office" "Database" ]; 101 + startupNotify = true; 102 + mimeTypes = [ "text/plain" ]; 104 103 }; 105 104 106 105 installPhase = ''
+1 -1
pkgs/applications/radio/svxlink/default.nix
··· 9 9 icon = "qtel"; 10 10 desktopName = name; 11 11 genericName = "EchoLink Client"; 12 - categories = "HamRadio;Qt;Network;"; 12 + categories = [ "HamRadio" "Qt" "Network" ]; 13 13 }; 14 14 15 15 in stdenv.mkDerivation rec {
+2 -2
pkgs/applications/science/astronomy/gprojector/default.nix
··· 22 22 exec = "gprojector"; 23 23 desktopName = "G.Projector"; 24 24 comment = meta.description; 25 - categories = "Science;"; 26 - extraEntries = "StartupWMClass = gov-nasa-giss-projector-GProjector"; 25 + categories = [ "Science" ]; 26 + startupWMClass = "gov-nasa-giss-projector-GProjector"; 27 27 }) ]; 28 28 29 29 buildInputs = [ jre ];
+10 -2
pkgs/applications/science/chemistry/jmol/default.nix
··· 12 12 exec = "jmol"; 13 13 desktopName = "JMol"; 14 14 genericName = "Molecular Modeler"; 15 - mimeType = "chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;"; 16 - categories = "Graphics;Education;Science;Chemistry;"; 15 + mimeTypes = [ 16 + "chemical/x-pdb" 17 + "chemical/x-mdl-molfile" 18 + "chemical/x-mol2" 19 + "chemical/seq-aa-fasta" 20 + "chemical/seq-na-fasta" 21 + "chemical/x-xyz" 22 + "chemical/x-mdl-sdf" 23 + ]; 24 + categories = [ "Graphics" "Education" "Science" "Chemistry" ]; 17 25 }; 18 26 in 19 27 stdenv.mkDerivation rec {
+10 -2
pkgs/applications/science/chemistry/pymol/default.nix
··· 24 24 genericName = "Molecular Modeler"; 25 25 comment = description; 26 26 icon = pname; 27 - mimeType = "chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;"; 28 - categories = "Graphics;Education;Science;Chemistry;"; 27 + mimeTypes = [ 28 + "chemical/x-pdb" 29 + "chemical/x-mdl-molfile" 30 + "chemical/x-mol2" 31 + "chemical/seq-aa-fasta" 32 + "chemical/seq-na-fasta" 33 + "chemical/x-xyz" 34 + "chemical/x-mdl-sdf" 35 + ]; 36 + categories = [ "Graphics" "Education" "Science" "Chemistry" ]; 29 37 }; 30 38 in 31 39 python3Packages.buildPythonApplication rec {
+1 -1
pkgs/applications/science/electronics/diylc/default.nix
··· 27 27 comment = "Multi platform circuit layout and schematic drawing tool"; 28 28 exec = "diylc"; 29 29 icon = "diylc_icon"; 30 - categories = "Development;Electronics;"; 30 + categories = [ "Development" "Electronics" ]; 31 31 }; 32 32 in 33 33 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/science/electronics/eagle/eagle.nix
··· 27 27 comment = "Schematic capture and PCB layout"; 28 28 desktopName = "Eagle"; 29 29 genericName = "Schematic editor"; 30 - categories = "Development;"; 30 + categories = [ "Development" ]; 31 31 }; 32 32 33 33 buildInputs =
+1 -1
pkgs/applications/science/electronics/eagle/eagle7.nix
··· 37 37 comment = "Schematic capture and PCB layout"; 38 38 desktopName = "Eagle"; 39 39 genericName = "Schematic editor"; 40 - categories = "Development;"; 40 + categories = [ "Development" ]; 41 41 }; 42 42 43 43 buildInputs =
+1 -1
pkgs/applications/science/logic/coq/default.nix
··· 179 179 icon = "coq"; 180 180 desktopName = "CoqIDE"; 181 181 comment = "Graphical interface for the Coq proof assistant"; 182 - categories = "Development;Science;Math;IDE;GTK"; 182 + categories = [ "Development" "Science" "Math" "IDE" "GTK" ]; 183 183 }); 184 184 185 185 postInstall = let suffix = if versionAtLeast "8.14" then "-core" else ""; in ''
+1 -1
pkgs/applications/science/logic/isabelle/default.nix
··· 114 114 icon = "isabelle"; 115 115 desktopName = "Isabelle"; 116 116 comment = meta.description; 117 - categories = "Education;Science;Math;"; 117 + categories = [ "Education" "Science" "Math" ]; 118 118 }; 119 119 120 120 meta = with lib; {
+1 -1
pkgs/applications/science/logic/key/default.nix
··· 61 61 comment = meta.description; 62 62 desktopName = "KeY"; 63 63 genericName = "KeY"; 64 - categories = "Science;"; 64 + categories = [ "Science" ]; 65 65 }) 66 66 ]; 67 67
+1 -1
pkgs/applications/science/logic/logisim-evolution/default.nix
··· 20 20 exec = "logisim-evolution"; 21 21 icon = "logisim-evolution"; 22 22 comment = meta.description; 23 - categories = "Education;"; 23 + categories = [ "Education" ]; 24 24 }) 25 25 ]; 26 26
+1 -1
pkgs/applications/science/logic/logisim/default.nix
··· 20 20 exec = "logisim"; 21 21 icon = "logisim"; 22 22 comment = meta.description; 23 - categories = "Education;"; 23 + categories = [ "Education" ]; 24 24 }) 25 25 ]; 26 26
+2 -4
pkgs/applications/science/logic/tlaplus/toolbox.nix
··· 18 18 comment = "IDE for TLA+"; 19 19 desktopName = name; 20 20 genericName = comment; 21 - categories = "Development"; 22 - extraEntries = '' 23 - StartupWMClass=TLA+ Toolbox 24 - ''; 21 + categories = [ "Development" ]; 22 + startupWMClass = "TLA+ Toolbox"; 25 23 }; 26 24 27 25
+2 -2
pkgs/applications/science/math/geogebra/default.nix
··· 15 15 desktopName = "Geogebra"; 16 16 genericName = "Geogebra"; 17 17 comment = meta.description; 18 - categories = "Education;Science;Math;"; 19 - mimeType = "application/vnd.geogebra.file;application/vnd.geogebra.tool;"; 18 + categories = [ "Education" "Science" "Math" ]; 19 + mimeTypes = [ "application/vnd.geogebra.file" "application/vnd.geogebra.tool" ]; 20 20 }; 21 21 22 22 meta = with lib; {
+1 -1
pkgs/applications/science/misc/netlogo/default.nix
··· 8 8 icon = name; 9 9 comment = "A multi-agent programmable modeling environment"; 10 10 desktopName = "NetLogo"; 11 - categories = "Science;"; 11 + categories = [ "Science" ]; 12 12 }; 13 13 14 14 in
+1 -1
pkgs/applications/science/programming/groove/default.nix
··· 7 7 icon = "groove"; 8 8 desktopName = "GROOVE Simulator"; 9 9 comment = "GRaphs for Object-Oriented VErification"; 10 - categories = "Science;ComputerScience;"; 10 + categories = [ "Science" "ComputerScience" ]; 11 11 }; 12 12 13 13 in stdenv.mkDerivation rec {
+2 -4
pkgs/applications/terminal-emulators/mlterm/default.nix
··· 106 106 comment = "Terminal emulator"; 107 107 desktopName = "mlterm"; 108 108 genericName = "Terminal emulator"; 109 - categories = lib.concatStringsSep ";" [ 110 - "Application" "System" "TerminalEmulator" 111 - ]; 112 - startupNotify = "false"; 109 + categories = [ "Application" "System" "TerminalEmulator" ]; 110 + startupNotify = false; 113 111 }; 114 112 115 113 meta = with lib; {
+1 -1
pkgs/applications/terminal-emulators/rxvt-unicode/default.nix
··· 21 21 comment = description; 22 22 desktopName = "URxvt"; 23 23 genericName = pname; 24 - categories = "System;TerminalEmulator;"; 24 + categories = [ "System" "TerminalEmulator" ]; 25 25 }; 26 26 27 27 fetchPatchFromAUR = { package, name, rev, sha256 }:
+3 -6
pkgs/applications/terminal-emulators/wayst/default.nix
··· 21 21 desktopItem = makeDesktopItem { 22 22 desktopName = "Wayst"; 23 23 name = "wayst"; 24 + genericName = "Terminal"; 24 25 exec = "wayst"; 25 26 icon = "wayst"; 26 - terminal = "false"; 27 - categories = "System;TerminalEmulator"; 27 + categories = [ "System" "TerminalEmulator" ]; 28 + keywords = [ "wayst" "terminal" ]; 28 29 comment = "A simple terminal emulator"; 29 - extraEntries = '' 30 - GenericName=Terminal 31 - Keywords=wayst;terminal; 32 - ''; 33 30 }; 34 31 in 35 32 stdenv.mkDerivation rec {
+1 -1
pkgs/applications/version-management/gitkraken/default.nix
··· 93 93 icon = pname; 94 94 desktopName = "GitKraken"; 95 95 genericName = "Git Client"; 96 - categories = "Development;"; 96 + categories = [ "Development" ]; 97 97 comment = "Graphical Git client from Axosoft"; 98 98 }) ]; 99 99
+5 -9
pkgs/applications/version-management/smartgithg/default.nix
··· 65 65 comment = meta.description; 66 66 icon = "smartgit"; 67 67 desktopName = "SmartGit"; 68 - categories = concatStringsSep ";" [ 68 + categories = [ 69 69 "Application" 70 70 "Development" 71 71 "RevisionControl" 72 72 ]; 73 - mimeType = concatStringsSep ";" [ 73 + mimeTypes = [ 74 74 "x-scheme-handler/git" 75 75 "x-scheme-handler/smartgit" 76 76 "x-scheme-handler/sourcetree" 77 77 ]; 78 - startupNotify = "true"; 79 - extraEntries = '' 80 - Keywords=git 81 - StartupWMClass=${name} 82 - Version=1.0 83 - Encoding=UTF-8 84 - ''; 78 + startupNotify = true; 79 + startupWMClass = name; 80 + keywords = [ "git" ]; 85 81 }; 86 82 87 83 meta = with lib; {
+1 -1
pkgs/applications/video/clipgrab/default.nix
··· 40 40 desktopName = "ClipGrab"; 41 41 comment = meta.description; 42 42 genericName = "Web video downloader"; 43 - categories = "Qt;AudioVideo;Audio;Video"; 43 + categories = [ "Qt" "AudioVideo" "Audio" "Video" ]; 44 44 }; 45 45 46 46 installPhase = ''
+1 -1
pkgs/applications/window-managers/berry/default.nix
··· 50 50 comment = meta.description; 51 51 desktopName = "Berry Window Manager"; 52 52 genericName = "Berry Window Manager"; 53 - categories = "Utility;"; 53 + categories = [ "Utility" ]; 54 54 }) 55 55 ]; 56 56
+1 -1
pkgs/development/embedded/stm32/stm32cubemx/default.nix
··· 23 23 name = "stm32CubeMX"; 24 24 exec = "stm32cubemx"; 25 25 desktopName = "STM32CubeMX"; 26 - categories = "Development;"; 26 + categories = [ "Development" ]; 27 27 comment = "STM32Cube initialization code generator"; 28 28 icon = "stm32cubemx"; 29 29 })
+1 -1
pkgs/development/pharo/launcher/default.nix
··· 17 17 comment = "Launcher for Pharo distributions"; 18 18 desktopName = "Pharo"; 19 19 genericName = "Pharo"; 20 - categories = "Development;"; 20 + categories = [ "Development" ]; 21 21 }; 22 22 23 23 # because upstream tarball has no top-level directory.
+3 -5
pkgs/development/pharo/wrapper/default.nix
··· 11 11 genericName = "Pharo Virtual Machine"; 12 12 exec = "pharo %F"; 13 13 icon = "pharo"; 14 - terminal = "false"; 15 - type="Application"; 16 - startupNotify = "false"; 17 - categories = "Development;"; 18 - mimeType = "application/x-pharo-image"; 14 + startupNotify = false; 15 + categories = [ "Development" ]; 16 + mimeTypes = [ "application/x-pharo-image" ]; 19 17 }; 20 18 unpackPhase = '' 21 19 cp $src ./pharo-vm.sh
+1 -1
pkgs/development/python-modules/spyder/default.nix
··· 37 37 comment = "Scientific Python Development Environment"; 38 38 desktopName = "Spyder"; 39 39 genericName = "Python IDE"; 40 - categories = "Development;IDE;"; 40 + categories = [ "Development" "IDE" ]; 41 41 }; 42 42 43 43 postPatch = ''
+1 -1
pkgs/development/tools/alloy/default.nix
··· 17 17 desktopName = "Alloy ${lib.versions.major version}"; 18 18 genericName = "Relational modelling tool"; 19 19 comment = meta.description; 20 - categories = "Development;IDE;Education;"; 20 + categories = [ "Development" "IDE" "Education" ]; 21 21 }; 22 22 23 23 nativeBuildInputs = [ makeWrapper ];
+1 -1
pkgs/development/tools/database/sqldeveloper/default.nix
··· 10 10 desktopName = "Oracle SQL Developer"; 11 11 genericName = "Oracle SQL Developer"; 12 12 comment = "Oracle's Oracle DB GUI client"; 13 - categories = "Development;"; 13 + categories = [ "Development" ]; 14 14 }; 15 15 in 16 16 stdenv.mkDerivation {
+1 -1
pkgs/development/tools/database/squirrel-sql/default.nix
··· 63 63 comment = meta.description; 64 64 desktopName = "SQuirreL SQL"; 65 65 genericName = "SQL Client"; 66 - categories = "Development;"; 66 + categories = [ "Development" ]; 67 67 icon = "squirrel-sql"; 68 68 }; 69 69
+1 -1
pkgs/development/tools/eclipse-mat/default.nix
··· 44 44 comment = "Eclipse Memory Analyzer"; 45 45 desktopName = "Eclipse MAT"; 46 46 genericName = "Java Memory Analyzer"; 47 - categories = "Development;"; 47 + categories = [ "Development" ]; 48 48 }; 49 49 50 50 unpackPhase = ''
+1 -1
pkgs/development/tools/java/visualvm/default.nix
··· 15 15 comment = "Java Troubleshooting Tool"; 16 16 desktopName = "VisualVM"; 17 17 genericName = "Java Troubleshooting Tool"; 18 - categories = "Development;"; 18 + categories = [ "Development" ]; 19 19 }; 20 20 21 21 nativeBuildInputs = [ makeWrapper ];
+2 -4
pkgs/development/tools/jpexs/default.nix
··· 36 36 desktopName = "JPEXS Free Flash Decompiler"; 37 37 genericName = "Flash Decompiler"; 38 38 comment = meta.description; 39 - categories = "Development;Java;"; 40 - extraEntries = '' 41 - StartupWMClass=com-jpexs-decompiler-flash-gui-Main 42 - ''; 39 + categories = [ "Development" "Java" ]; 40 + startupWMClass = "com-jpexs-decompiler-flash-gui-Main"; 43 41 }; 44 42 45 43 meta = with lib; {
+1 -1
pkgs/development/tools/mars-mips/default.nix
··· 20 20 exec = "mars-mips"; 21 21 icon = "mars-mips"; 22 22 comment = "An IDE for programming in MIPS assembly language"; 23 - categories = "Development;IDE;"; 23 + categories = [ "Development" "IDE" ]; 24 24 }) 25 25 ]; 26 26
+1 -1
pkgs/development/tools/misc/saleae-logic-2/default.nix
··· 13 13 comment = "Software for Saleae logic analyzers"; 14 14 desktopName = "Saleae Logic"; 15 15 genericName = "Logic analyzer"; 16 - categories = "Development"; 16 + categories = [ "Development" ]; 17 17 }; 18 18 in 19 19 appimageTools.wrapType2 {
+1 -1
pkgs/development/tools/misc/saleae-logic/default.nix
··· 41 41 comment = "Software for Saleae logic analyzers"; 42 42 desktopName = "Saleae Logic"; 43 43 genericName = "Logic analyzer"; 44 - categories = "Development"; 44 + categories = [ "Development" ]; 45 45 }; 46 46 47 47 nativeBuildInputs = [ unzip ];
+1 -1
pkgs/development/tools/react-native-debugger/default.nix
··· 70 70 exec = "react-native-debugger"; 71 71 desktopName = "React Native Debugger"; 72 72 genericName = "React Native Debugger"; 73 - categories = "Development;Debugger;"; 73 + categories = [ "Development" "Debugger" ]; 74 74 }; 75 75 76 76 meta = with lib; {
+2 -2
pkgs/development/tools/scenebuilder/default.nix
··· 69 69 icon = "scenebuilder"; 70 70 comment = "A visual, drag'n'drop, layout tool for designing JavaFX application user interfaces."; 71 71 desktopName = pname; 72 - mimeType = "application/java;application/java-vm;application/java-archive"; 73 - categories = "Development"; 72 + mimeTypes = [ "application/java" "application/java-vm" "application/java-archive" ]; 73 + categories = [ "Development" ]; 74 74 }; 75 75 76 76 in stdenv.mkDerivation rec {
+2 -2
pkgs/development/tools/scenic-view/default.nix
··· 66 66 desktopName = pname; 67 67 exec = pname; 68 68 comment = "JavaFx application to visualize and modify the scenegraph of running JavaFx applications."; 69 - mimeType = "application/java;application/java-vm;application/java-archive"; 70 - categories = "Development"; 69 + mimeTypes = [ "application/java" "application/java-vm" "application/java-archive" ]; 70 + categories = [ "Development" ]; 71 71 }; 72 72 73 73 in stdenv.mkDerivation rec {
+1 -1
pkgs/development/tools/winpdb/default.nix
··· 19 19 comment = "Platform independend Python debugger"; 20 20 desktopName = "Winpdb"; 21 21 genericName = "Python Debugger"; 22 - categories = "Development;Debugger;"; 22 + categories = [ "Development" "Debugger" ]; 23 23 }; 24 24 25 25 # Don't call gnome-terminal with "--disable-factory" flag, which is
+1 -1
pkgs/development/web/postman/default.nix
··· 25 25 comment = "API Development Environment"; 26 26 desktopName = "Postman"; 27 27 genericName = "Postman"; 28 - categories = "Development;"; 28 + categories = [ "Development" ]; 29 29 }; 30 30 31 31 buildInputs = [
+1 -1
pkgs/development/web/protege-distribution/default.nix
··· 60 60 desktopName = "Protege Desktop"; 61 61 icon = "protege"; 62 62 comment = "OWL2 ontology editor"; 63 - categories = "Development"; 63 + categories = [ "Development" ]; 64 64 exec = "run-protege"; 65 65 }) 66 66 ];
+1 -1
pkgs/games/90secondportraits/default.nix
··· 16 16 comment = "A silly speed painting game"; 17 17 desktopName = "90 Second Portraits"; 18 18 genericName = "90secondportraits"; 19 - categories = "Game;"; 19 + categories = [ "Game" ]; 20 20 }; 21 21 22 22 in
+1 -1
pkgs/games/abuse/default.nix
··· 22 22 icon = "abuse"; 23 23 desktopName = "Abuse"; 24 24 comment = "Side-scroller action game that pits you against ruthless alien killers"; 25 - categories = "Game;ActionGame;"; 25 + categories = [ "Game" "ActionGame" ]; 26 26 }) ]; 27 27 28 28 postInstall = ''
+1 -1
pkgs/games/alephone/default.nix
··· 72 72 name = desktopName; 73 73 exec = pname; 74 74 genericName = pname; 75 - categories = "Game;"; 75 + categories = [ "Game" ]; 76 76 comment = meta.description; 77 77 inherit desktopName icon; 78 78 };
+1 -1
pkgs/games/assaultcube/default.nix
··· 29 29 desktopName = "AssaultCube"; 30 30 comment = "A multiplayer, first-person shooter game, based on the CUBE engine. Fast, arcade gameplay."; 31 31 genericName = "First-person shooter"; 32 - categories = "Game;ActionGame;Shooter"; 32 + categories = [ "Game" "ActionGame" "Shooter" ]; 33 33 icon = "assaultcube.png"; 34 34 exec = pname; 35 35 };
+1 -2
pkgs/games/ballerburg/default.nix
··· 25 25 (makeDesktopItem { 26 26 name = "Ballerburg"; 27 27 desktopName = "Ballerburg SDL"; 28 - type = "Application"; 29 28 exec = "_NET_WM_ICON=ballerburg ballerburg"; 30 29 comment = meta.description; 31 30 icon = "ballerburg"; 32 - categories = "Game;"; 31 + categories = [ "Game" ]; 33 32 }) 34 33 ]; 35 34
+1 -2
pkgs/games/brogue/default.nix
··· 26 26 comment = "Brave the Dungeons of Doom!"; 27 27 icon = "brogue"; 28 28 exec = "brogue"; 29 - categories = "Game;AdventureGame;"; 30 - terminal = "false"; 29 + categories = [ "Game" "AdventureGame" ]; 31 30 }; 32 31 33 32 installPhase = ''
+1 -1
pkgs/games/clonehero/fhs-wrapper.nix
··· 13 13 comment = clonehero-unwrapped.meta.description; 14 14 exec = name; 15 15 icon = name; 16 - categories = "Game;"; 16 + categories = [ "Game" ]; 17 17 }; 18 18 in 19 19 buildFHSUserEnv {
+1 -1
pkgs/games/dhewm3/default.nix
··· 29 29 name = "dhewm3"; 30 30 exec = "dhewm3"; 31 31 desktopName = "Doom 3"; 32 - categories = "Game;"; 32 + categories = [ "Game" ]; 33 33 }) 34 34 ]; 35 35
-2
pkgs/games/domination/default.nix
··· 11 11 12 12 let 13 13 desktopItem = makeDesktopItem { 14 - type = "Application"; 15 14 name = "Domination"; 16 15 desktopName = "Domination"; 17 16 exec = "domination"; 18 17 icon = "domination"; 19 18 }; 20 19 editorDesktopItem = makeDesktopItem { 21 - type = "Application"; 22 20 name = "Domination Map Editor"; 23 21 desktopName = "Domination Map Editor"; 24 22 exec = "domination-map-editor";
+1 -1
pkgs/games/duckmarines/default.nix
··· 16 16 comment = "Duck-themed action puzzle video game"; 17 17 desktopName = "Duck Marines"; 18 18 genericName = "duckmarines"; 19 - categories = "Game;"; 19 + categories = [ "Game" ]; 20 20 }; 21 21 22 22 src = fetchurl {
+1 -1
pkgs/games/ecwolf/default.nix
··· 18 18 exec = "ecwolf"; 19 19 comment = "Enhanced Wolfenstein 3D port"; 20 20 desktopName = "Wolfenstein 3D"; 21 - categories = "Game;"; 21 + categories = [ "Game" ]; 22 22 }) 23 23 ]; 24 24
+1 -1
pkgs/games/eduke32/default.nix
··· 11 11 comment = "Duke Nukem 3D port"; 12 12 desktopName = "Enhanced Duke Nukem 3D"; 13 13 genericName = "Duke Nukem 3D port"; 14 - categories = "Game;"; 14 + categories = [ "Game" ]; 15 15 }; 16 16 17 17 wrapper = "eduke32-wrapper";
+1 -2
pkgs/games/factorio/default.nix
··· 53 53 comment = "A game in which you build and maintain factories."; 54 54 exec = "factorio"; 55 55 icon = "factorio"; 56 - type = "Application"; 57 - categories = "Game"; 56 + categories = [ "Game" ]; 58 57 }; 59 58 60 59 branch = if experimental then "experimental" else "stable";
+1 -1
pkgs/games/fish-fillets-ng/default.nix
··· 22 22 icon = "fish-fillets-ng"; 23 23 desktopName = "Fish Fillets"; 24 24 comment = "Puzzle game about witty fish saving the world sokoban-style"; 25 - categories = "Game;LogicGame;"; 25 + categories = [ "Game" "LogicGame" ]; 26 26 }) ]; 27 27 28 28 postInstall = ''
+1 -1
pkgs/games/flightgear/default.nix
··· 49 49 comment = "FlightGear Flight Simulator"; 50 50 desktopName = "FlightGear"; 51 51 genericName = "Flight simulator"; 52 - categories = "Game;Simulation"; 52 + categories = [ "Game" "Simulation" ]; 53 53 }; 54 54 55 55 nativeBuildInputs = [ cmake wrapQtAppsHook ];
+1 -1
pkgs/games/freedroid/default.nix
··· 38 38 icon = pname; 39 39 desktopName = "Freedroid Classic"; 40 40 comment = "A clone of the classic game 'Paradroid' on Commodore 64"; 41 - categories = "Game;ArcadeGame;"; 41 + categories = [ "Game" "ArcadeGame" ]; 42 42 }) ]; 43 43 44 44 meta = with lib; {
+1 -4
pkgs/games/freenukum/default.nix
··· 16 16 name = pname; 17 17 exec = pname; 18 18 icon = pname; 19 - terminal = "false"; 20 19 comment = description; 21 - type = "Application"; 22 - categories = "Game;ArcadeGame;ActionGame"; 20 + categories = [ "Game" "ArcadeGame" "ActionGame" ]; 23 21 genericName = pname; 24 - fileValidation = false; 25 22 }; 26 23 27 24 in
+2 -2
pkgs/games/frogatto/default.nix
··· 7 7 desktopItem = makeDesktopItem { 8 8 name = "frogatto"; 9 9 exec = "frogatto"; 10 - startupNotify = "true"; 10 + startupNotify = true; 11 11 icon = "${data}/share/frogatto/modules/frogatto/images/os/frogatto-icon.png"; 12 12 comment = description; 13 13 desktopName = "Frogatto"; 14 14 genericName = "frogatto"; 15 - categories = "Game;ArcadeGame;"; 15 + categories = [ "Game" "ArcadeGame" ]; 16 16 }; 17 17 version = "unstable-2020-12-04"; 18 18 in buildEnv {
+1 -1
pkgs/games/frozen-bubble/default.nix
··· 25 25 desktopName = "Frozen Bubble"; 26 26 genericName = "Frozen Bubble"; 27 27 comment = "Arcade/reflex colour matching game"; 28 - categories = "Game;"; 28 + categories = [ "Game" ]; 29 29 }) 30 30 ]; 31 31
+1 -1
pkgs/games/gnujump/default.nix
··· 19 19 icon = "gnujump"; 20 20 desktopName = "GNUjump"; 21 21 comment = "Jump up the tower to survive"; 22 - categories = "Game;ArcadeGame;"; 22 + categories = [ "Game" "ArcadeGame" ]; 23 23 }) ]; 24 24 25 25 postInstall = ''
+1 -1
pkgs/games/gzdoom/default.nix
··· 60 60 name = "gzdoom"; 61 61 exec = "gzdoom"; 62 62 desktopName = "GZDoom"; 63 - categories = "Game;"; 63 + categories = [ "Game" ]; 64 64 }) 65 65 ]; 66 66
+1 -1
pkgs/games/hyperrogue/default.nix
··· 23 23 comment = meta.description; 24 24 icon = "hyperrogue"; 25 25 exec = "hyperrogue"; 26 - categories = "Game;AdventureGame;"; 26 + categories = [ "Game" "AdventureGame" ]; 27 27 }; 28 28 29 29 postInstall = ''
+3 -5
pkgs/games/itch/default.nix
··· 24 24 (makeDesktopItem { 25 25 name = pname; 26 26 exec = pname; 27 + tryExec = "itch %U"; 27 28 icon = pname; 28 29 desktopName = pname; 29 - mimeType = "x-scheme-handler/itchio;x-scheme-handler/itch"; 30 + mimeTypes = [ "x-scheme-handler/itchio" "x-scheme-handler/itch" ]; 30 31 comment = "Install and play itch.io games easily"; 31 - extraDesktopEntries = { 32 - TryExec = "itch %U"; 33 - Categories = "Game;"; 34 - }; 32 + categories = [ "Game" ]; 35 33 }) 36 34 ]; 37 35
+1 -1
pkgs/games/ivan/default.nix
··· 32 32 icon = "ivan.png"; 33 33 desktopName = "IVAN"; 34 34 genericName = pname; 35 - categories = "Game;AdventureGame;RolePlaying;"; 35 + categories = [ "Game" "AdventureGame" "RolePlaying" ]; 36 36 comment = meta.description; 37 37 }; 38 38
+1 -1
pkgs/games/lunar-client/default.nix
··· 11 11 comment = "Minecraft 1.7, 1.8, 1.12, 1.15, and 1.16 Client"; 12 12 desktopName = "Lunar Client"; 13 13 genericName = "Minecraft Client"; 14 - categories = "Game;"; 14 + categories = [ "Game" ]; 15 15 }; 16 16 17 17 appimageContents = appimageTools.extract {
+1 -1
pkgs/games/maelstrom/default.nix
··· 26 26 desktopName = "Maelstrom"; 27 27 genericName = "Maelstrom"; 28 28 comment = "An arcade-style game resembling Asteroids"; 29 - categories = "Game;"; 29 + categories = [ "Game" ]; 30 30 }) 31 31 ]; 32 32
+1 -1
pkgs/games/mari0/default.nix
··· 10 10 comment = "Crossover between Super Mario Bros. and Portal"; 11 11 desktopName = "mari0"; 12 12 genericName = "mari0"; 13 - categories = "Game"; 13 + categories = [ "Game" ]; 14 14 }; 15 15 16 16 in
-1
pkgs/games/mindustry/default.nix
··· 66 66 ''; 67 67 68 68 desktopItem = makeDesktopItem { 69 - type = "Application"; 70 69 name = "Mindustry"; 71 70 desktopName = "Mindustry"; 72 71 exec = "mindustry";
+1 -1
pkgs/games/minecraft/default.nix
··· 38 38 icon = "minecraft-launcher"; 39 39 comment = "Official launcher for Minecraft, a sandbox-building game"; 40 40 desktopName = "Minecraft Launcher"; 41 - categories = "Game;"; 41 + categories = [ "Game" ]; 42 42 }; 43 43 44 44 envLibPath = lib.makeLibraryPath [
+1 -1
pkgs/games/mrrescue/default.nix
··· 16 16 comment = "Arcade-style fire fighting game"; 17 17 desktopName = "Mr. Rescue"; 18 18 genericName = "mrrescue"; 19 - categories = "Game;"; 19 + categories = [ "Game" ]; 20 20 }; 21 21 22 22 in
+1 -1
pkgs/games/oh-my-git/default.nix
··· 66 66 desktopName = "oh-my-git"; 67 67 comment = "An interactive Git learning game!"; 68 68 genericName = "An interactive Git learning game!"; 69 - categories = "Game;"; 69 + categories = [ "Game" ]; 70 70 }) 71 71 ]; 72 72
+2 -2
pkgs/games/openjk/default.nix
··· 8 8 comment = "Open Source Jedi Academy game released by Raven Software"; 9 9 desktopName = "Jedi Academy (Multi Player)"; 10 10 genericName = "Jedi Academy"; 11 - categories = "Game;"; 11 + categories = [ "Game" ]; 12 12 }; 13 13 jasp = makeDesktopItem rec { 14 14 name = "jasp"; ··· 17 17 comment = "Open Source Jedi Academy game released by Raven Software"; 18 18 desktopName = "Jedi Academy (Single Player)"; 19 19 genericName = "Jedi Academy"; 20 - categories = "Game;"; 20 + categories = [ "Game" ]; 21 21 }; 22 22 in stdenv.mkDerivation { 23 23 pname = "OpenJK";
+1 -1
pkgs/games/opensupaplex/default.nix
··· 74 74 icon = "open-supaplex"; 75 75 desktopName = "OpenSupaplex"; 76 76 comment = meta.description; 77 - categories = "Application;Game;"; 77 + categories = [ "Application" "Game" ]; 78 78 })]; 79 79 80 80 meta = with lib; {
+1 -1
pkgs/games/orthorobot/default.nix
··· 22 22 comment = "Robot game"; 23 23 desktopName = "Orthorobot"; 24 24 genericName = "orthorobot"; 25 - categories = "Game;"; 25 + categories = [ "Game" ]; 26 26 }; 27 27 28 28 nativeBuildInputs = [ makeWrapper ];
+1 -1
pkgs/games/osu-lazer/default.nix
··· 63 63 icon = "osu!"; 64 64 comment = meta.description; 65 65 type = "Application"; 66 - categories = "Game;"; 66 + categories = [ "Game" ]; 67 67 })]; 68 68 69 69 meta = with lib; {
+1 -1
pkgs/games/quakespasm/default.nix
··· 76 76 name = "quakespasm"; 77 77 exec = "quake"; 78 78 desktopName = "Quakespasm"; 79 - categories = "Game;"; 79 + categories = [ "Game" ]; 80 80 }) 81 81 ]; 82 82
+1 -1
pkgs/games/rocksndiamonds/default.nix
··· 16 16 comment = meta.description; 17 17 desktopName = "Rocks'n'Diamonds"; 18 18 genericName = "Tile-based puzzle"; 19 - categories = "Game;LogicGame;"; 19 + categories = [ "Game" "LogicGame" ]; 20 20 }; 21 21 22 22 buildInputs = [ SDL2 SDL2_image SDL2_mixer SDL2_net ];
+1 -1
pkgs/games/rott/default.nix
··· 40 40 name = "rott"; 41 41 exec = "launch-rott"; 42 42 desktopName = "Rise of the Triad: ${if buildShareware then "The HUNT Begins" else "Dark War"}"; 43 - categories = "Game;"; 43 + categories = [ "Game" ]; 44 44 }) 45 45 ]; 46 46
+1 -2
pkgs/games/runelite/default.nix
··· 31 31 exec = "runelite"; 32 32 icon = icon; 33 33 comment = "Open source Old School RuneScape client"; 34 - terminal = "false"; 35 34 desktopName = "RuneLite"; 36 35 genericName = "Oldschool Runescape"; 37 - categories = "Game"; 36 + categories = [ "Game" ]; 38 37 }; 39 38 40 39 nativeBuildInputs = [ makeWrapper unzip ];
+1 -1
pkgs/games/sauerbraten/default.nix
··· 42 42 icon = "sauerbraten"; 43 43 desktopName = "Sauerbraten"; 44 44 comment = "FPS that uses an improved version of the Cube engine"; 45 - categories = "Application;Game;ActionGame;"; 45 + categories = [ "Application" "Game" "ActionGame" ]; 46 46 }) 47 47 ]; 48 48
+1 -1
pkgs/games/scid-vs-pc/default.nix
··· 68 68 comment = meta.description; 69 69 icon = "scid"; 70 70 exec = "scid"; 71 - categories = "Game;BoardGame;"; 71 + categories = [ "Game" "BoardGame" ]; 72 72 }; 73 73 74 74 meta = with lib; {
+1 -1
pkgs/games/scummvm/games.nix
··· 3 3 4 4 let 5 5 desktopItem = name: short: long: description: makeDesktopItem { 6 - categories = "Game;AdventureGame;"; 6 + categories = [ "Game" "AdventureGame" ]; 7 7 comment = description; 8 8 desktopName = long; 9 9 exec = "@out@/bin/${short}";
+1 -1
pkgs/games/sdlpop/default.nix
··· 57 57 exec = "prince"; 58 58 desktopName = "SDLPoP"; 59 59 comment = "An open-source port of Prince of Persia"; 60 - categories = "Game;AdventureGame;"; 60 + categories = [ "Game" "AdventureGame" ]; 61 61 }) ]; 62 62 63 63 meta = with lib; {
+1 -1
pkgs/games/sienna/default.nix
··· 20 20 comment = "Fast-paced one button platformer"; 21 21 desktopName = "Sienna"; 22 22 genericName = "sienna"; 23 - categories = "Game;"; 23 + categories = [ "Game" ]; 24 24 }; 25 25 26 26 nativeBuildInputs = [ makeWrapper ];
+1 -1
pkgs/games/starsector/default.nix
··· 38 38 comment = meta.description; 39 39 genericName = "starsector"; 40 40 desktopName = "Starsector"; 41 - categories = "Game;"; 41 + categories = [ "Game" ]; 42 42 }) 43 43 ]; 44 44
+1 -1
pkgs/games/system-syzygy/default.nix
··· 6 6 exec = "@out@/bin/syzygy"; 7 7 comment = "A puzzle game"; 8 8 desktopName = "System Syzygy"; 9 - categories = "Game;"; 9 + categories = [ "Game" ]; 10 10 }; 11 11 in 12 12 rustPlatform.buildRustPackage rec {
+1 -3
pkgs/games/tome2/default.nix
··· 9 9 name = pname; 10 10 exec = "${pname}-x11"; 11 11 icon = pname; 12 - terminal = "false"; 13 12 comment = description; 14 13 type = "Application"; 15 - categories = "Game;RolePlaying;"; 14 + categories = [ "Game" "RolePlaying" ]; 16 15 genericName = pname; 17 - fileValidation = false; 18 16 }; 19 17 20 18 in stdenv.mkDerivation {
+1 -2
pkgs/games/tome4/default.nix
··· 15 15 name = pname; 16 16 exec = "@out@/bin/${pname}"; 17 17 icon = pname; 18 - terminal = "false"; 19 18 comment = "An open-source, single-player, role-playing roguelike game set in the world of Eyal."; 20 19 type = "Application"; 21 - categories = "Game;RolePlaying;"; 20 + categories = [ "Game" "RolePlaying" ]; 22 21 genericName = pname; 23 22 }; 24 23
+1 -1
pkgs/games/unciv/default.nix
··· 14 14 exec = "unciv"; 15 15 comment = "An open-source Android/Desktop remake of Civ V"; 16 16 desktopName = "Unciv"; 17 - categories = "Game;"; 17 + categories = [ "Game" ]; 18 18 }; 19 19 20 20 envLibPath = lib.makeLibraryPath [
+2 -10
pkgs/games/unvanquished/default.nix
··· 135 135 desktopName = "Unvanquished"; 136 136 comment = "FPS/RTS Game - Aliens vs. Humans"; 137 137 icon = "unvanquished"; 138 - terminal = false; 139 138 exec = "unvanquished"; 140 - categories = "Game;ActionGame;StrategyGame;"; 141 - # May or may not work 139 + categories = [ "Game" "ActionGame" "StrategyGame" ]; 142 140 prefersNonDefaultGPU = true; 143 - fileValidation = false; # it doesn't like PrefersNonDefaultGPU 144 - # yes, PrefersNonDefaultGPU is standard: 145 - # https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html 146 141 }) 147 142 (makeDesktopItem { 148 143 name = "net.unvanquished.UnvanquishedProtocolHandler.desktop"; 149 144 desktopName = "Unvanquished (protocol handler)"; 150 145 noDisplay = true; 151 - terminal = false; 152 146 exec = "unvanquished -connect %u"; 153 - mimeType = "x-scheme-handler/unv"; 154 - # May or may not work 147 + mimeTypes = [ "x-scheme-handler/unv" ]; 155 148 prefersNonDefaultGPU = true; 156 - fileValidation = false; # it doesn't like PrefersNonDefaultGPU 157 149 }) 158 150 ]; 159 151
+1 -1
pkgs/games/ut2004/wrapper.nix
··· 27 27 desktopName = "Unreal Tournament 2004"; 28 28 comment = "A first-person shooter video game developed by Epic Games and Digital Extreme"; 29 29 genericName = "First-person shooter"; 30 - categories = "Game;"; 30 + categories = [ "Game" ]; 31 31 exec = "ut2004"; 32 32 }; 33 33
+1 -2
pkgs/games/vintagestory/default.nix
··· 47 47 exec = "vintagestory"; 48 48 icon = "vintagestory"; 49 49 comment = "Innovate and explore in a sandbox world"; 50 - type = "Application"; 51 - categories = "Game;"; 50 + categories = [ "Game" ]; 52 51 }; 53 52 54 53 installPhase = ''
+1 -2
pkgs/games/worldofgoo/default.nix
··· 8 8 desktopItem = makeDesktopItem { 9 9 desktopName = "World of Goo"; 10 10 genericName = "World of Goo"; 11 - categories = "Game;"; 11 + categories = [ "Game" ]; 12 12 exec = "WorldOfGoo.bin.${arch}"; 13 13 icon = "2dboy-worldofgoo"; 14 14 name = "worldofgoo"; 15 - type = "Application"; 16 15 }; 17 16 18 17 in
+1 -1
pkgs/games/xbill/default.nix
··· 25 25 icon = "xbill"; 26 26 desktopName = "XBill"; 27 27 comment = "Get rid of those Wingdows viruses!"; 28 - categories = "Game;ArcadeGame;"; 28 + categories = [ "Game" "ArcadeGame" ]; 29 29 }) ]; 30 30 31 31 postInstall = ''
+2 -2
pkgs/games/xonotic/default.nix
··· 50 50 exec = "xonotic"; 51 51 comment = meta.description; 52 52 desktopName = "Xonotic"; 53 - categories = "Game;Shooter;"; 53 + categories = [ "Game" "Shooter" ]; 54 54 icon = "xonotic"; 55 - startupNotify = "false"; 55 + startupNotify = false; 56 56 }; 57 57 58 58 xonotic-unwrapped = stdenv.mkDerivation rec {
+2 -2
pkgs/servers/pulseaudio/qpaeq.nix
··· 13 13 icon = "audio-volume-high"; 14 14 desktopName = "qpaeq"; 15 15 genericName = "Audio equalizer"; 16 - categories = "AudioVideo;Audio;Mixer;"; 17 - startupNotify = "false"; 16 + categories = [ "AudioVideo" "Audio" "Mixer" ]; 17 + startupNotify = false; 18 18 }; 19 19 in 20 20 mkDerivation rec {
+1 -2
pkgs/tools/X11/opentabletdriver/default.nix
··· 100 100 exec = "otd-gui"; 101 101 icon = "otd"; 102 102 comment = meta.description; 103 - type = "Application"; 104 - categories = "Utility;"; 103 + categories = [ "Utility" ]; 105 104 }) 106 105 ]; 107 106
+2 -5
pkgs/tools/admin/winbox/default.nix
··· 45 45 comment = "GUI administration for Mikrotik RouterOS"; 46 46 exec = pname; 47 47 icon = pname; 48 - type = "Application"; 49 - categories = "Utility"; 50 - extraDesktopEntries = { 51 - StartupWMClass = last (splitString "/" executable); 52 - }; 48 + categories = [ "Utility" ]; 49 + startupWMClass = last (splitString "/" executable); 53 50 }; 54 51 55 52 # The icon is also from the winbox AUR package (see above).
+1 -1
pkgs/tools/games/jpsxdec/default.nix
··· 24 24 icon = pname; 25 25 comment = description; 26 26 desktopName = "jPSXdec"; 27 - categories = "AudioVideo;Utility;"; 27 + categories = [ "AudioVideo" "Utility" ]; 28 28 }; 29 29 in 30 30 stdenv.mkDerivation rec {
+1 -3
pkgs/tools/graphics/agi/default.nix
··· 54 54 desktopName = "Android GPU Inspector"; 55 55 exec = "$out/bin/agi"; 56 56 icon = "agi"; 57 - type = "Application"; 58 - categories = "Development;Debugger;Graphics;3DGraphics"; 59 - terminal = "false"; 57 + categories = [ "Development" "Debugger" "Graphics" "3DGraphics" ]; 60 58 })]; 61 59 62 60 meta = with lib; {
+1 -3
pkgs/tools/graphics/snapdragon-profiler/default.nix
··· 72 72 desktopName = "Snapdragon Profiler"; 73 73 exec = "$out/bin/snapdragon-profiler"; 74 74 icon = "snapdragon-profiler"; 75 - type = "Application"; 76 75 comment = meta.description; 77 - categories = "Development;Debugger;Graphics;3DGraphics"; 78 - terminal = "false"; 76 + categories = [ "Development" "Debugger" "Graphics" "3DGraphics" ]; 79 77 })]; 80 78 81 79 dontStrip = true; # Always needed on Mono
+1 -1
pkgs/tools/graphics/xcolor/default.nix
··· 25 25 desktopName = "XColor"; 26 26 comment = "Select colors visible anywhere on the screen to get their RGB representation"; 27 27 icon = "xcolor"; 28 - categories = "Graphics;"; 28 + categories = [ "Graphics" ]; 29 29 }) 30 30 ]; 31 31
+1 -2
pkgs/tools/misc/hakuneko/default.nix
··· 13 13 desktopItem = makeDesktopItem { 14 14 desktopName = "HakuNeko Desktop"; 15 15 genericName = "Manga & Anime Downloader"; 16 - categories = "Network;FileTransfer;"; 16 + categories = [ "Network" "FileTransfer" ]; 17 17 exec = "hakuneko"; 18 18 icon = "hakuneko-desktop"; 19 19 name = "hakuneko-desktop"; 20 - type = "Application"; 21 20 }; 22 21 in 23 22 stdenv.mkDerivation rec {
+1 -1
pkgs/tools/misc/hdfview/default.nix
··· 32 32 exec = name; 33 33 icon = name; 34 34 comment = meta.description; 35 - categories = "Science;DataVisualization;"; 35 + categories = [ "Science" "DataVisualization" ]; 36 36 }; 37 37 38 38 installPhase = ''
+1 -2
pkgs/tools/misc/jdiskreport/default.nix
··· 4 4 desktopItem = makeDesktopItem { 5 5 desktopName = "JDiskReport"; 6 6 genericName = "A graphical utility to visualize disk usage"; 7 - categories = "Utility;"; 7 + categories = [ "Utility" ]; 8 8 exec = "jdiskreport"; 9 9 name = "jdiskreport"; 10 - type = "Application"; 11 10 }; 12 11 in 13 12 stdenv.mkDerivation rec {
+1 -1
pkgs/tools/misc/sharedown/default.nix
··· 38 38 icon = "Sharedown"; 39 39 comment = "An Application to save your Sharepoint videos for offline usage."; 40 40 desktopName = "Sharedown"; 41 - categories = "Network;Archiving"; 41 + categories = [ "Network" "Archiving" ]; 42 42 }) 43 43 ]; 44 44
+1 -1
pkgs/tools/security/bitwarden/default.nix
··· 27 27 icon = "bitwarden"; 28 28 comment = "A secure and free password manager for all of your devices"; 29 29 desktopName = "Bitwarden"; 30 - categories = "Utility"; 30 + categories = [ "Utility" ]; 31 31 }; 32 32 33 33 dontBuild = true;
+1 -1
pkgs/tools/security/ghidra/build.nix
··· 34 34 icon = "ghidra"; 35 35 desktopName = "Ghidra"; 36 36 genericName = "Ghidra Software Reverse Engineering Suite"; 37 - categories = "Development;"; 37 + categories = [ "Development" ]; 38 38 }; 39 39 40 40 # postPatch scripts.
+1 -1
pkgs/tools/security/ghidra/default.nix
··· 19 19 icon = "ghidra"; 20 20 desktopName = "Ghidra"; 21 21 genericName = "Ghidra Software Reverse Engineering Suite"; 22 - categories = "Development;"; 22 + categories = [ "Development" ]; 23 23 }; 24 24 25 25 in stdenv.mkDerivation rec {
+3 -3
pkgs/tools/security/jd-gui/default.nix
··· 62 62 comment = "Java Decompiler JD-GUI"; 63 63 desktopName = "JD-GUI"; 64 64 genericName = "Java Decompiler"; 65 - mimeType = "application/java;application/java-vm;application/java-archive"; 66 - categories = "Development;Debugger;"; 67 - extraEntries="StartupWMClass=org-jd-gui-App"; 65 + mimeTypes = [ "application/java" "application/java-vm" "application/java-archive" ]; 66 + categories = [ "Development" "Debugger" ]; 67 + startupWMClass = "org-jd-gui-App"; 68 68 }; 69 69 70 70 in stdenv.mkDerivation rec {
+1 -1
pkgs/tools/security/open-ecard/default.nix
··· 33 33 comment = "Client side implementation of the eCard-API-Framework"; 34 34 icon = "oec_logo_bg-transparent.svg"; 35 35 exec = pname; 36 - categories = "Utility;Security;"; 36 + categories = [ "Utility" "Security" ]; 37 37 }; 38 38 39 39 installPhase = ''
+1 -1
pkgs/tools/text/dirdiff/default.nix
··· 41 41 desktopName = "Dirdiff"; 42 42 genericName = "Directory Diff Viewer"; 43 43 comment = "Diff and merge directory trees"; 44 - categories = "Development;"; 44 + categories = [ "Development" ]; 45 45 }) 46 46 ]; 47 47
+1 -1
pkgs/tools/text/hottext/default.nix
··· 19 19 HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-Regular.ttf"; 20 20 21 21 desktopItem = makeDesktopItem { 22 - categories = "Utility;"; 22 + categories = [ "Utility" ]; 23 23 comment = meta.description; 24 24 desktopName = pname; 25 25 exec = pname;
+2 -2
pkgs/tools/text/xml/basex/default.nix
··· 19 19 comment = "Visually query and analyse your XML data"; 20 20 desktopName = "BaseX XML Database"; 21 21 genericName = "XML database tool"; 22 - categories = "Development;Utility;Database"; 23 - mimeType = "text/xml"; 22 + categories = [ "Development" "Utility" "Database" ]; 23 + mimeTypes = [ "text/xml" ]; 24 24 }); 25 25 26 26 dontBuild = true;