treewide: switch all desktop file generators to new API

Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
main
K900 2 years ago committed by Jonathan Ringer
parent 0c713dbed4
commit cb2cfba6f7
  1. 2
      nixos/modules/misc/documentation.nix
  2. 19
      nixos/modules/programs/phosh.nix
  3. 5
      pkgs/applications/audio/goattracker/default.nix
  4. 10
      pkgs/applications/audio/jamesdsp/default.nix
  5. 2
      pkgs/applications/audio/lyrebird/default.nix
  6. 1
      pkgs/applications/audio/netease-cloud-music-gtk/default.nix
  7. 2
      pkgs/applications/audio/roomeqwizard/default.nix
  8. 2
      pkgs/applications/audio/sony-headphones-client/default.nix
  9. 2
      pkgs/applications/blockchains/bisq-desktop/default.nix
  10. 2
      pkgs/applications/blockchains/crypto-org-wallet/default.nix
  11. 2
      pkgs/applications/blockchains/monero-gui/default.nix
  12. 2
      pkgs/applications/blockchains/mycrypto/default.nix
  13. 2
      pkgs/applications/blockchains/wasabiwallet/default.nix
  14. 6
      pkgs/applications/editors/android-studio/common.nix
  15. 2
      pkgs/applications/editors/eclipse/build-eclipse.nix
  16. 6
      pkgs/applications/editors/jetbrains/common.nix
  17. 2
      pkgs/applications/editors/kodestudio/default.nix
  18. 8
      pkgs/applications/editors/leo-editor/default.nix
  19. 2
      pkgs/applications/editors/netbeans/default.nix
  20. 2
      pkgs/applications/editors/quartus-prime/default.nix
  21. 9
      pkgs/applications/editors/rstudio/default.nix
  22. 2
      pkgs/applications/editors/sublime/2/default.nix
  23. 2
      pkgs/applications/editors/thonny/default.nix
  24. 12
      pkgs/applications/editors/vis/default.nix
  25. 35
      pkgs/applications/editors/vscode/generic.nix
  26. 2
      pkgs/applications/editors/xxe-pe/default.nix
  27. 2
      pkgs/applications/emulators/ccemux/default.nix
  28. 2
      pkgs/applications/emulators/dosbox-staging/default.nix
  29. 2
      pkgs/applications/emulators/dosbox/default.nix
  30. 2
      pkgs/applications/emulators/mame/default.nix
  31. 4
      pkgs/applications/emulators/mgba/default.nix
  32. 2
      pkgs/applications/emulators/ryujinx/default.nix
  33. 2
      pkgs/applications/emulators/vice/default.nix
  34. 2
      pkgs/applications/emulators/zsnes/default.nix
  35. 10
      pkgs/applications/graphics/antimony/default.nix
  36. 2
      pkgs/applications/graphics/avocode/default.nix
  37. 4
      pkgs/applications/graphics/evilpixie/default.nix
  38. 13
      pkgs/applications/graphics/fiji/default.nix
  39. 2
      pkgs/applications/graphics/imagej/default.nix
  40. 10
      pkgs/applications/graphics/ipe/default.nix
  41. 4
      pkgs/applications/graphics/openboard/default.nix
  42. 2
      pkgs/applications/graphics/swingsane/default.nix
  43. 2
      pkgs/applications/graphics/write_stylus/default.nix
  44. 4
      pkgs/applications/graphics/xournal/default.nix
  45. 36
      pkgs/applications/misc/azuredatastudio/default.nix
  46. 2
      pkgs/applications/misc/cubiomes-viewer/default.nix
  47. 2
      pkgs/applications/misc/cura/stable.nix
  48. 2
      pkgs/applications/misc/dbeaver/default.nix
  49. 6
      pkgs/applications/misc/free42/default.nix
  50. 2
      pkgs/applications/misc/ganttproject-bin/default.nix
  51. 2
      pkgs/applications/misc/gkrellm/default.nix
  52. 2
      pkgs/applications/misc/golden-cheetah/default.nix
  53. 2
      pkgs/applications/misc/gpsprune/default.nix
  54. 4
      pkgs/applications/misc/ideamaker/default.nix
  55. 2
      pkgs/applications/misc/ipmiview/default.nix
  56. 7
      pkgs/applications/misc/keepass/default.nix
  57. 2
      pkgs/applications/misc/lsd2dsl/default.nix
  58. 1
      pkgs/applications/misc/michabo/default.nix
  59. 2
      pkgs/applications/misc/obinskit/default.nix
  60. 2
      pkgs/applications/misc/obsidian/default.nix
  61. 2
      pkgs/applications/misc/opentrack/default.nix
  62. 4
      pkgs/applications/misc/pdfsam-basic/default.nix
  63. 6
      pkgs/applications/misc/pdfstudio/common.nix
  64. 5
      pkgs/applications/misc/pgadmin/default.nix
  65. 2
      pkgs/applications/misc/plater/default.nix
  66. 2
      pkgs/applications/misc/premid/default.nix
  67. 4
      pkgs/applications/misc/prusa-slicer/default.nix
  68. 2
      pkgs/applications/misc/prusa-slicer/super-slicer.nix
  69. 2
      pkgs/applications/misc/robo3t/default.nix
  70. 2
      pkgs/applications/misc/sidequest/default.nix
  71. 5
      pkgs/applications/misc/simplenote/default.nix
  72. 2
      pkgs/applications/misc/slic3r/default.nix
  73. 2
      pkgs/applications/misc/snapmaker-luban/default.nix
  74. 2
      pkgs/applications/misc/stretchly/default.nix
  75. 2
      pkgs/applications/misc/sweethome3d/default.nix
  76. 2
      pkgs/applications/misc/sweethome3d/editors.nix
  77. 1
      pkgs/applications/misc/teleprompter/default.nix
  78. 2
      pkgs/applications/misc/toggldesktop/default.nix
  79. 2
      pkgs/applications/misc/trenchbroom/default.nix
  80. 8
      pkgs/applications/misc/tvbrowser/bin.nix
  81. 4
      pkgs/applications/misc/xmind/default.nix
  82. 3
      pkgs/applications/misc/xpdf/default.nix
  83. 4
      pkgs/applications/networking/aether/default.nix
  84. 2
      pkgs/applications/networking/apache-directory-studio/default.nix
  85. 5
      pkgs/applications/networking/browsers/firefox/wrapper.nix
  86. 2
      pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
  87. 4
      pkgs/applications/networking/browsers/vieb/default.nix
  88. 4
      pkgs/applications/networking/browsers/webbrowser/default.nix
  89. 13
      pkgs/applications/networking/charles/default.nix
  90. 2
      pkgs/applications/networking/cisco-packet-tracer/7.nix
  91. 2
      pkgs/applications/networking/cisco-packet-tracer/8.nix
  92. 4
      pkgs/applications/networking/dropbox/default.nix
  93. 8
      pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix
  94. 4
      pkgs/applications/networking/instant-messengers/discord/linux.nix
  95. 8
      pkgs/applications/networking/instant-messengers/element/element-desktop.nix
  96. 2
      pkgs/applications/networking/instant-messengers/gitter/default.nix
  97. 4
      pkgs/applications/networking/instant-messengers/gomuks/default.nix
  98. 2
      pkgs/applications/networking/instant-messengers/jitsi/default.nix
  99. 4
      pkgs/applications/networking/instant-messengers/mikutter/default.nix
  100. 3
      pkgs/applications/networking/instant-messengers/rambox/rambox.nix
  101. Some files were not shown because too many files have changed in this diff Show More

@ -129,7 +129,7 @@ let
genericName = "View NixOS documentation in a web browser";
icon = "nix-snowflake";
exec = "nixos-help";
categories = "System";
categories = ["System"];
};
in pkgs.symlinkJoin {

@ -8,18 +8,17 @@ let
# Based on https://source.puri.sm/Librem5/librem5-base/-/blob/4596c1056dd75ac7f043aede07887990fd46f572/default/sm.puri.OSK0.desktop
oskItem = pkgs.makeDesktopItem {
name = "sm.puri.OSK0";
type = "Application";
desktopName = "On-screen keyboard";
exec = "${pkgs.squeekboard}/bin/squeekboard";
categories = "GNOME;Core;";
extraEntries = ''
OnlyShowIn=GNOME;
NoDisplay=true
X-GNOME-Autostart-Phase=Panel
X-GNOME-Provides=inputmethod
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
'';
categories = [ "GNOME" "Core" ];
onlyShowIn = [ "GNOME" ];
noDisplay = true;
extraConfig = {
X-GNOME-Autostart-Phase = "Panel";
X-GNOME-Provides = "inputmethod";
X-GNOME-Autostart-Notify = "true";
X-GNOME-AutoRestart = "true";
};
};
phocConfigType = types.submodule {

@ -12,7 +12,6 @@ with lib;
let
pname = "goattracker" + optionalString isStereo "-stereo";
desktopItem = makeDesktopItem {
type = "Application";
name = pname;
desktopName = "GoatTracker 2" + optionalString isStereo " Stereo";
genericName = "Music Tracker";
@ -20,8 +19,8 @@ let
then "gt2stereo"
else "goattrk2";
icon = "goattracker";
categories = "AudioVideo;AudioVideoEditing;";
extraEntries = "Keywords=tracker;music;";
categories = [ "AudioVideo" "AudioVideoEditing" ];
keywords = [ "tracker" "music" ];
};
in stdenv.mkDerivation rec {

@ -38,19 +38,15 @@ mkDerivation rec{
desktopItems = [
(makeDesktopItem {
name = "jamesdsp.desktop";
name = "jamesdsp";
desktopName = "JamesDSP";
genericName = "Audio effects processor";
exec = "jamesdsp";
icon = "jamesdsp";
comment = "JamesDSP for Linux";
categories = "AudioVideo;Audio";
categories = [ "AudioVideo" "Audio" ];
startupNotify = false;
terminal = false;
type = "Application";
extraDesktopEntries = {
Keywords = "equalizer;audio;effect";
};
keywords = [ "equalizer" "audio" "effect" ];
})
];

@ -15,7 +15,7 @@ let
icon = "${placeholder "out"}/share/lyrebird/icon.png";
desktopName = "Lyrebird";
genericName = "Voice Changer";
categories = "AudioVideo;Audio;";
categories = [ "AudioVideo" "Audio" ];
};
in
python3Packages.buildPythonApplication rec {

@ -11,7 +11,6 @@
, wrapGAppsHook
, fetchurl
, fetchFromGitHub
, makeDesktopItem
}:
rustPlatform.buildRustPackage rec {
pname = "netease-cloud-music-gtk";

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
icon = pname;
desktopName = "REW";
genericName = "Software for audio measurements";
categories = "AudioVideo;";
categories = [ "AudioVideo" ];
};
responseFile = writeTextFile {

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
icon = "SonyHeadphonesClient";
desktopName = "Sony Headphones Client";
comment = "A client recreating the functionality of the Sony Headphones app";
categories = "Audio;Mixer;";
categories = [ "Audio" "Mixer" ];
}) ];
meta = with lib; {

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
icon = "bisq";
desktopName = "Bisq ${version}";
genericName = "Decentralized bitcoin exchange";
categories = "Network;P2P;";
categories = [ "Network" "P2P" ];
})
];

@ -1,4 +1,4 @@
{ lib, fetchurl, makeDesktopItem, appimageTools, imagemagick }:
{ lib, fetchurl, appimageTools, imagemagick }:
let
pname = "chain-desktop-wallet";

@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
icon = "monero";
desktopName = "Monero";
genericName = "Wallet";
categories = "Network;Utility;";
categories = [ "Network" "Utility" ];
};
postInstall = ''

@ -23,7 +23,7 @@ let
comment = "MyCrypto is a free, open-source interface for interacting with the blockchain";
exec = pname;
icon = "mycrypto";
categories = "Finance;";
categories = [ "Finance" ];
};
in appimageTools.wrapType2 rec {

@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
desktopName = "Wasabi";
genericName = "Bitcoin wallet";
comment = meta.description;
categories = "Network;Utility;";
categories = [ "Network" "Utility" ];
};
installPhase = ''

@ -164,9 +164,9 @@ let
icon = drvName;
desktopName = "Android Studio (${channel} channel)";
comment = "The official Android IDE";
categories = "Development;IDE;";
startupNotify = "true";
extraEntries="StartupWMClass=jetbrains-studio";
categories = [ "Development" "IDE" ];
startupNotify = true;
startupWMClass = "jetbrains-studio";
};
# Android Studio downloads prebuilt binaries as part of the SDK. These tools

@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
comment = "Integrated Development Environment";
desktopName = "Eclipse IDE";
genericName = "Integrated Development Environment";
categories = "Development;";
categories = [ "Development" ];
};
buildInputs = [

@ -27,11 +27,9 @@ with stdenv; lib.makeOverridable mkDerivation (rec {
comment = lib.replaceChars ["\n"] [" "] meta.longDescription;
desktopName = product;
genericName = meta.description;
categories = "Development;";
categories = [ "Development" ];
icon = mainProgram;
extraEntries = ''
StartupWMClass=${wmClass}
'';
startupWMClass = wmClass;
};
vmoptsFile = optionalString (vmopts != null) (writeText vmoptsName vmopts);

@ -39,7 +39,7 @@ in
comment = "Kode Studio is an IDE for Kha based on Visual Studio Code";
desktopName = "Kode Studio";
genericName = "Text Editor";
categories = "GNOME;GTK;Utility;TextEditor;Development;";
categories = [ "GNOME" "GTK" "Utility" "TextEditor" "Development" ];
};
sourceRoot = ".";

@ -24,11 +24,9 @@ mkDerivation rec {
comment = meta.description;
desktopName = "Leo";
genericName = "Text Editor";
categories = lib.concatStringsSep ";" [
"Application" "Development" "IDE"
];
startupNotify = "false";
mimeType = lib.concatStringsSep ";" [
categories = [ "Application" "Development" "IDE" ];
startupNotify = false;
mimeTypes = [
"text/plain" "text/asp" "text/x-c" "text/x-script.elisp" "text/x-fortran"
"text/html" "application/inf" "text/x-java-source" "application/x-javascript"
"application/javascript" "text/ecmascript" "application/x-ksh" "text/x-script.ksh"

@ -10,7 +10,7 @@ let
comment = "Integrated Development Environment";
desktopName = "Apache NetBeans IDE";
genericName = "Integrated Development Environment";
categories = "Development;";
categories = [ "Development" ];
icon = "netbeans";
};
in

@ -10,7 +10,7 @@ let
icon = "quartus";
desktopName = "Quartus";
genericName = "Quartus Prime";
categories = "Development;";
categories = [ "Development" ];
};
# I think modelsim_ase/linux/vlm checksums itself, so use FHSUserEnv instead of `patchelf`
in buildFHSUserEnv rec {

@ -227,8 +227,13 @@ in
desktopName = "RStudio";
genericName = "IDE";
comment = description;
categories = "Development;";
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;";
categories = [ "Development" ];
mimeTypes = [
"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"
];
})
];
})

@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
comment = meta.description;
desktopName = "Sublime Text";
genericName = "Text Editor";
categories = "TextEditor;Development;";
categories = [ "TextEditor" "Development" ];
icon = "sublime_text";
};

@ -21,7 +21,7 @@ buildPythonApplication rec {
icon = "thonny";
desktopName = "Thonny";
comment = "Python IDE for beginners";
categories = "Development;IDE";
categories = [ "Development" "IDE" ];
}) ];
propagatedBuildInputs = with python3.pkgs; [

@ -50,14 +50,10 @@ stdenv.mkDerivation rec {
comment = meta.description;
desktopName = "vis";
genericName = "Text editor";
categories = lib.concatStringsSep ";" [
"Application" "Development" "IDE"
];
mimeType = lib.concatStringsSep ";" [
"text/plain" "application/octet-stream"
];
startupNotify = "false";
terminal = "true";
categories = [ "Application" "Development" "IDE" ];
mimeTypes = [ "text/plain" "application/octet-stream" ];
startupNotify = false;
terminal = true;
};
meta = with lib; {

@ -37,19 +37,16 @@ let
genericName = "Text Editor";
exec = "${executableName} %F";
icon = "code";
startupNotify = "true";
categories = "Utility;TextEditor;Development;IDE;";
mimeType = "text/plain;inode/directory;";
extraEntries = ''
StartupWMClass=${shortName}
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=${executableName} --new-window %F
Icon=code
'';
startupNotify = true;
startupWMClass = shortName;
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "text/plain" "inode/directory" ];
keywords = [ "vscode" ];
actions.new-empty-window = {
name = "New Empty Window";
exec = "${executableName} --new-window %F";
icon = "code";
};
};
urlHandlerDesktopItem = makeDesktopItem {
@ -59,13 +56,11 @@ let
genericName = "Text Editor";
exec = executableName + " --open-url %U";
icon = "code";
startupNotify = "true";
categories = "Utility;TextEditor;Development;IDE;";
mimeType = "x-scheme-handler/vscode;";
extraEntries = ''
NoDisplay=true
Keywords=vscode;
'';
startupNotify = true;
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "x-scheme-handler/vscode" ];
keywords = [ "vscode" ];
noDisplay = true;
};
buildInputs = [ libsecret libXScrnSaver libxshmfence ]

@ -19,7 +19,7 @@ let
icon = "xxe";
desktopName = "xxe";
genericName = "XML Editor";
categories = "Development;IDE;TextEditor;Java";
categories = [ "Development" "IDE" "TextEditor" "Java" ];
};
in
stdenv.mkDerivation rec {

@ -29,7 +29,7 @@ let
comment = "A modular ComputerCraft emulator";
desktopName = "CCEmuX";
genericName = "ComputerCraft Emulator";
categories = "Emulator;";
categories = [ "Emulator" ];
};
in

@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
comment = "x86 dos emulator enhanced";
desktopName = "DosBox-Staging";
genericName = "DOS emulator";
categories = "Emulator;Game;";
categories = [ "Emulator" "Game" ];
})
];

@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
comment = "x86 dos emulator";
desktopName = "DOSBox";
genericName = "DOS emulator";
categories = "Emulator;Game;";
categories = [ "Emulator" "Game" ];
})
];

@ -26,7 +26,7 @@ let
exec = "mame${lib.optionalString stdenv.is64bit "64"}";
desktopName = "MAME";
genericName = "MAME is a multi-purpose emulation framework";
categories = "System;Emulator;";
categories = [ "System" "Emulator" ];
};
dest = "$out/opt/mame";

@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
comment = "A Game Boy Advance Emulator";
desktopName = "mgba";
genericName = "Game Boy Advance Emulator";
categories = "Game;Emulator;";
startupNotify = "false";
categories = [ "Game" "Emulator" ];
startupNotify = false;
})
];

@ -74,7 +74,7 @@ buildDotnetModule rec {
icon = "ryujinx";
comment = meta.description;
type = "Application";
categories = "Game;";
categories = [ "Game" ];
})];
meta = with lib; {

@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
comment = "Commodore 64 emulator";
desktopName = "VICE";
genericName = "Commodore 64 emulator";
categories = "Emulator;";
categories = [ "Emulator" ];
};
preBuild = ''

@ -9,7 +9,7 @@ let
comment = "A SNES emulator";
desktopName = "zsnes";
genericName = "zsnes";
categories = "Game;";
categories = [ "Game" ];
};
in stdenv.mkDerivation {

@ -48,13 +48,9 @@ in
genericName = "CAD Application";
exec = "antimony %f";
icon = "antimony";
terminal = "false";
categories = "Graphics;Science;Engineering";
mimeType = "application/x-extension-sb;application/x-antimony;";
extraEntries = ''
StartupWMClass=antimony
Version=1.0
'';
categories = [ "Graphics" "Science" "Engineering" ];
mimeTypes = [ "application/x-extension-sb" "application/x-antimony" ];
startupWMClass = "antimony";
})
];

@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
icon = "avocode";
desktopName = "Avocode";
genericName = "Design Inspector";
categories = "Development;";
categories = [ "Development" ];
comment = "The bridge between designers and developers";
};

@ -16,8 +16,8 @@ let
exec = "evilpixie %F";
icon = "evilpixie";
genericName = "Image Editor";
categories = "Graphics;2DGraphics;RasterGraphics;";
mimeType = "image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/x-pcx;image/x-targa;image/x-tga;";
categories = [ "Graphics" "2DGraphics" "RasterGraphics" ];
mimeTypes = [ "image/bmp" "image/gif" "image/jpeg" "image/jpg" "image/png" "image/x-pcx" "image/x-targa" "image/x-tga" ];
};
in mkDerivation rec {

@ -26,20 +26,15 @@ stdenv.mkDerivation rec {
(makeDesktopItem {
name = "fiji";
exec = "fiji %F";
tryExec = "fiji";
icon = "fiji";
mimeType = "image/*;";
mimeTypes = [ "image/*" ];
comment = "Scientific Image Analysis";
desktopName = "Fiji Is Just ImageJ";
genericName = "Fiji Is Just ImageJ";
categories = "Education;Science;ImageProcessing;";
terminal = false;
categories = [ "Education" "Science" "ImageProcessing" ];
startupNotify = true;
extraEntries = ''
Version=1.0
TryExec=fiji
X-GNOME-FullName=Fiji Is Just ImageJ
StartupWMClass=fiji-Main
'';
startupWMClass = "fiji-Main";
})
];

@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
name = "ImageJ";
desktopName = "ImageJ";
icon = "imagej";
categories = "Science;Utility;Graphics;";
categories = [ "Science" "Utility" "Graphics" ];
exec = "imagej";
})
];

@ -60,12 +60,10 @@ mkDerivation rec {
comment = "A drawing editor for creating figures in PDF format";
exec = "ipe";
icon = "ipe";
mimeType = "text/xml;application/pdf";
categories = "Graphics;Qt;";
extraDesktopEntries = {
StartupWMClass = "ipe";
StartupNotify = "true";
};
mimeTypes = [ "text/xml" "application/pdf" ];
categories = [ "Graphics" "Qt" ];
startupNotify = true;
startupWMClass = "ipe";
})
];

@ -79,8 +79,8 @@ in mkDerivation rec {
icon = "OpenBoard";
comment = "OpenBoard, an interactive white board application";
desktopName = "OpenBoard";
mimeType = "application/ubz";
categories = "Education;";
mimeTypes = [ "application/ubz" ];
categories = [ "Education" ];
startupNotify = true;
})
];

@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
desktopName = "SwingSane";
genericName = "Scan from local or remote SANE servers";
comment = meta.description;
categories = "Office;";
categories = [ "Office" ];
};
in ''

@ -7,7 +7,7 @@ let
icon = "write_stylus";
desktopName = "Write";
genericName = "Write";
categories = "Office;Graphics";
categories = [ "Office" "Graphics" ];
};
in
mkDerivation rec {

@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
icon = "xournal";
desktopName = "Xournal";
comment = meta.description;
categories = "Office;Graphics;";
mimeType = "application/pdf;application/x-xoj";
categories = [ "Office" "Graphics" ];
mimeTypes = [ "application/pdf" "application/x-xoj" ];
genericName = "PDF Editor";
};

@ -32,19 +32,16 @@ let
genericName = "Text Editor";
exec = "azuredatastudio --no-sandbox --unity-launch %F";
icon = "azuredatastudio";
startupNotify = "true";
categories = "Utility;TextEditor;Development;IDE;";
mimeType = "text/plain;inode/directory;application/x-azuredatastudio-workspace;";
extraEntries = ''
StartupWMClass=azuredatastudio
Actions=new-empty-window;
Keywords=azuredatastudio;
[Desktop Action new-empty-window]
Name=New Empty Window
Exec=azuredatastudio --no-sandbox --new-window %F
Icon=azuredatastudio
'';
startupNotify = true;
startupWMClass = "azuredatastudio";
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "text/plain" "inode/directory" "application/x-azuredatastudio-workspace" ];
keywords = [ "azuredatastudio" ];
actions.new-empty-window = {
name = "New Empty Window";
exec = "azuredatastudio --no-sandbox --new-window %F";
icon = "azuredatastudio";
};
};
urlHandlerDesktopItem = makeDesktopItem {
@ -54,13 +51,12 @@ let
genericName = "Text Editor";
exec = "azuredatastudio --no-sandbox --open-url %U";
icon = "azuredatastudio";
startupNotify = "true";
categories = "Utility;TextEditor;Development;IDE;";
mimeType = "x-scheme-handler/azuredatastudio;";
extraEntries = ''
NoDisplay=true
Keywords=azuredatastudio;
'';
startupNotify = true;
startupWMClass = "azuredatastudio";
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "x-scheme-handler/azuredatastudio" ];
keywords = [ "azuredatastudio" ];
noDisplay = true;
};
in
stdenv.mkDerivation rec {

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
desktopName = "Cubiomes Viewer";
exec = pname;
icon = pname;
categories = "Game";
categories = [ "Game" ];
comment = meta.description;
}) ];

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
comment = "Cura";
desktopName = "Cura";
genericName = "3D printing host software";
categories = "GNOME;GTK;Utility;";
categories = [ "GNOME" "GTK" "Utility" ];
};
python_deps = with python27Packages; [ pyopengl pyserial numpy wxPython30 power setuptools ];

@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
desktopName = "dbeaver";
comment = "SQL Integrated Development Environment";
genericName = "SQL Integrated Development Environment";
categories = "Development;";
categories = [ "Development" ];
})
];

@ -74,8 +74,7 @@ stdenv.mkDerivation rec {
exec = "free42bin";
type = "Application";
comment = meta.description;
categories = "Utility;Calculator;";
terminal = "false";
categories = [ "Utility" "Calculator" ];
})
(makeDesktopItem {
name = "com.thomasokken.free42dec";
@ -84,8 +83,7 @@ stdenv.mkDerivation rec {
exec = "free42dec";
type = "Application";
comment = meta.description;
categories = "Utility;Calculator;";
terminal = "false";
categories = [ "Utility" "Calculator" ];
})
];

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
desktopName = "GanttProject";
genericName = "Shedule and manage projects";
comment = meta.description;
categories = "Office;";
categories = [ "Office" ];
};
javaOptions = [

@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
desktopName = "GKrellM";
genericName = "System monitor";
comment = "The GNU Krell Monitors";
categories = "System;Monitor;";
categories = [ "System" "Monitor" ];
})
];

@ -12,7 +12,7 @@ let
desktopName = "GoldenCheetah";
genericName = "GoldenCheetah";
comment = "Performance software for cyclists, runners and triathletes";
categories = "Utility;";
categories = [ "Utility" ];
};
in mkDerivation rec {
pname = "golden-cheetah";

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
desktopName = "GpsPrune";
genericName = "GPS Data Editor";
comment = meta.description;
categories = "Education;Geoscience;";
categories = [ "Education" "Geoscience" ];
})
];

@ -63,8 +63,8 @@ stdenv.mkDerivation rec {
icon = pname;
desktopName = "Ideamaker";
genericName = meta.description;
categories = "Utility;Viewer;Engineering;";
mimeType = "application/sla";
categories = [ "Utility" "Viewer" "Engineering" ];
mimeTypes = [ "application/sla" ];
};
meta = with lib; {

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
exec = "IPMIView";
desktopName = name;
genericName = "Supermicro BMC manager";
categories = "Network";
categories = [ "Network" ];
};
installPhase = ''

@ -69,11 +69,8 @@ with builtins; buildDotnetPackage rec {
icon = "keepass";
desktopName = "Keepass";
genericName = "Password manager";
categories = "Utility;";
mimeType = lib.concatStringsSep ";" [
"application/x-keepass2"
""
];
categories = [ "Utility" ];
mimeTypes = [ "application/x-keepass2" ];
};
outputFiles = [

@ -25,7 +25,7 @@ mkDerivation rec {
desktopName = "lsd2dsl";
genericName = "lsd2dsl";
comment = meta.description;
categories = "Dictionary;FileTools;Qt;";
categories = [ "Dictionary" "FileTools" "Qt" ];
});
installPhase = ''

@ -10,7 +10,6 @@
let
desktopItem = makeDesktopItem {
type = "Application";
name = "Michabo";
desktopName = "Michabo";
exec = "Michabo";

@ -15,7 +15,7 @@ let
icon = "obinskit";
desktopName = "Obinskit";
genericName = "Obinskit keyboard configurator";
categories = "Utility";
categories = [ "Utility" ];
};
electron = electron_13;
in

@ -15,7 +15,7 @@ let
comment = "Knowledge base";
icon = "obsidian";
exec = "obsidian";
categories = "Office";
categories = [ "Office" ];
};
updateScript = writeScript "obsidian-updater" ''

@ -45,7 +45,7 @@ in mkDerivation {
};
desktopName = name;
genericName = "Head tracking software";
categories = "Utility;";
categories = [ "Utility" ];
})
];

@ -35,8 +35,8 @@ stdenv.mkDerivation rec {
comment = meta.description;
desktopName = "PDFsam Basic";
genericName = "PDF Split and Merge";
mimeType = "application/pdf;";
categories = "Office;";
mimeTypes = [ "application/pdf" ];
categories = [ "Office" ];
};
meta = with lib; {

@ -40,10 +40,8 @@ let
exec = "${pname} %f";
icon = "${pname}${year}";
comment = "Views and edits PDF files";
mimeType = "application/pdf";
categories = "Office";
type = "Application";
terminal = false;
mimeTypes = [ "application/pdf" ];
categories = [ "Office" ];
})
];

@ -52,9 +52,8 @@ stdenv.mkDerivation rec {
genericName = "SQL Administration";
exec = "pgadmin3";
icon = "pgAdmin3";
type = "Application";
categories = "Development;";
mimeType = "text/html";
categories = [ "Development" ];
mimeTypes = [ "text/html" ];
};
in ''
mkdir -p $out/share/pixmaps;

@ -28,7 +28,7 @@ mkDerivation rec {
icon = pname;
desktopName = "Ideamaker";
genericName = meta.description;
categories = "Utility;Engineering;";
categories = ["Utility" "Engineering"];
};
postInstall = ''

@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
icon = pname;
desktopName = "PreMiD";
genericName = meta.description;
mimeType = "x-scheme-handler/premid";
mimeTypes = [ "x-scheme-handler/premid" ];
})
];

@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
comment = "G-code generator for 3D printers";
desktopName = "PrusaSlicer";
genericName = "3D printer tool";
categories = "Development;";
categories = [ "Development" ];
})
(makeDesktopItem {
name = "PrusaSlicer G-code Viewer";
@ -108,7 +108,7 @@ stdenv.mkDerivation rec {
comment = "G-code viewer for 3D printers";
desktopName = "PrusaSlicer G-code Viewer";
genericName = "G-code Viewer";
categories = "Development;";
categories = [ "Development" ];
})
];

@ -39,7 +39,7 @@ let
comment = description;
desktopName = appname;
genericName = "3D printer tool";
categories = "Development;";
categories = [ "Development" ];
})
];

@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
comment = "Query GUI for mongodb";
desktopName = "Robo3T";
genericName = "MongoDB management tool";
categories = "Development;IDE;";
categories = [ "Development" "IDE" ];
};
nativeBuildInputs = [ makeWrapper ];

@ -8,7 +8,7 @@
exec = "SideQuest";
desktopName = name;
genericName = "VR App Store";
categories = "Settings;PackageManager;";
categories = [ "Settings" "PackageManager" ];
};
sidequest = stdenv.mkDerivation {

@ -46,14 +46,13 @@ let
};
desktopItem = makeDesktopItem {
categories = "Development";
categories = [ "Development" ];
comment = "Simplenote for Linux";
desktopName = "Simplenote";
exec = "simplenote %U";
icon = "simplenote";
name = "simplenote";
startupNotify = "true";
type = "Application";
startupNotify = true;
};
dontBuild = true;

@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
comment = "G-code generator for 3D printers";
desktopName = "Slic3r";
genericName = "3D printer tool";
categories = "Development;";
categories = [ "Development" ];
};
prePatch = ''

@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
icon = "snapmaker-luban";
desktopName = "Snapmaker Luban";
genericName = meta.description;
categories = "Office;Printing;";
categories = [ "Office" "Printing" ];
})
];

@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
icon = icon;
desktopName = "Stretchly";
genericName = "Stretchly";
categories = "Utility;";
categories = [ "Utility" ];
};
meta = with lib; {

@ -37,7 +37,7 @@ let
icon = pname;
comment = description;
genericName = "Computer Aided (Interior) Design";
categories = "Graphics;2DGraphics;3DGraphics;";
categories = [ "Graphics" "2DGraphics" "3DGraphics" ];
};
postPatch = ''

@ -40,7 +40,7 @@ let
name = pname;
comment = description;
genericName = "Computer Aided (Interior) Design";
categories = "Graphics;2DGraphics;3DGraphics;";
categories = [ "Graphics" "2DGraphics" "3DGraphics" ];
};
nativeBuildInputs = [ makeWrapper unzip ];

@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
desktopItem = makeDesktopItem {
name = "teleprompter";
exec = "teleprompter";
type = "Application";
desktopName = "Teleprompter";
};

@ -133,7 +133,7 @@ let
'';
desktopItem = makeDesktopItem rec {
categories = "Utility;";
categories = [ "Utility" ];
desktopName = "Toggl";
genericName = desktopName;
name = "toggldesktop";

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
desktopName = "TrenchBroom level editor";
icon = "trenchbroom";
comment = meta.description;
categories = "Development";
categories = [ "Development" ];
exec = "trenchbroom";
})
];

@ -8,11 +8,9 @@ let
comment = "Themeable and easy to use TV Guide";
desktopName = "TV-Browser";
genericName = "Electronic TV Program Guide";
categories = "AudioVideo;TV;Java;";
startupNotify = "true";
extraEntries = ''
StartupWMClass=tvbrowser-TVBrowser
'';
categories = [ "AudioVideo" "TV" "Java" ];
startupNotify = true;
startupWMClass = "tvbrowser-TVBrowser";
};
in stdenv.mkDerivation rec {

@ -33,8 +33,8 @@ stdenv.mkDerivation rec {
icon = "xmind";
desktopName = "XMind";
comment = meta.description;
categories = "Office;";
mimeType = "application/xmind;x-scheme-handler/xmind";
categories = [ "Office" ];
mimeTypes = [ "application/xmind" "x-scheme-handler/xmind" ];
};
installPhase = let

@ -42,8 +42,7 @@ stdenv.mkDerivation rec {
comment = "Views Adobe PDF files";
icon = "xpdf";
exec = "xpdf %f";
categories = "Office;";
terminal = "false";
categories = [ "Office" ];
};
postInstall = lib.optionalString (!stdenv.isDarwin) ''

@ -63,8 +63,8 @@ stdenv.mkDerivation rec {
icon = pname;
desktopName = "Aether";
genericName = meta.description;
categories = "Network;";
mimeType = "x-scheme-handler/aether";
categories = [ "Network" ];
mimeTypes = [ "x-scheme-handler/aether" ];
})
];

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
comment = "Eclipse-based LDAP browser and directory client";
desktopName = "Apache Directory Studio";
genericName = "Apache Directory Studio";
categories = "Java;Network";
categories = [ "Java" "Network" ];
};
buildInputs = [ glib libsecret ];

@ -159,11 +159,10 @@ let
name = applicationName;
exec = "${applicationName}${nameSuffix} %U";
inherit icon;
comment = "";
desktopName = "${desktopName}${nameSuffix}${lib.optionalString forceWayland " (Wayland)"}";
genericName = "Web Browser";
categories = "Network;WebBrowser;";
mimeType = lib.concatStringsSep ";" [
categories = [ "Network" "WebBrowser" ];
mimeTypes = [
"text/html"
"text/xml"
"application/xhtml+xml"

@ -125,7 +125,7 @@ stdenv.mkDerivation rec {
desktopName = "Tor Browser";
genericName = "Web Browser";
comment = meta.description;
categories = "Network;WebBrowser;Security;";
categories = [ "Network" "WebBrowser" "Security" ];
};
buildCommand = ''

@ -24,8 +24,8 @@ mkYarnPackage rec {
icon = "vieb";
desktopName = "Web Browser";
genericName = "Web Browser";
categories = "Network;WebBrowser;";
mimeType = lib.concatStringsSep ";" [
categories = [ "Network" "WebBrowser" ];
mimeTypes = [
"text/html"
"application/xhtml+xml"
"x-scheme-handler/http"

@ -29,8 +29,8 @@ in stdenv.mkDerivation rec {
icon = "webbrowser";
desktopName = "Web Browser";
genericName = "Web Browser";
categories = "Network;WebBrowser;";
mimeType = lib.concatStringsSep ";" [
categories = [ "Network" "WebBrowser" ];
mimeTypes = [
"text/html"
"text/xml"
"application/xhtml+xml"

@ -11,14 +11,21 @@ let
generic = { version, sha256, platform ? "", jdk, ... }@attrs:
let
desktopItem = makeDesktopItem {
categories = "Network;Development;WebDevelopment;Java;";
categories = [ "Network" "Development" "WebDevelopment" "Java" ];
desktopName = "Charles";
exec = "charles %F";
genericName = "Web Debugging Proxy";
icon = "charles-proxy";
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";
mimeTypes = [
"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"
];
name = "Charles";
startupNotify = "true";
startupNotify = true;
};
in stdenv.mkDerivation {

@ -38,7 +38,7 @@ let
desktopName = "Cisco Packet Tracer 7";
icon = "${ptFiles}/opt/pt/art/app.png";
exec = "packettracer7 %f";
mimeType = "application/x-pkt;application/x-pka;application/x-pkz;";
mimeTypes = [ "application/x-pkt" "application/x-pka" "application/x-pkz" ];
};
fhs = buildFHSUserEnvBubblewrap {

@ -94,7 +94,7 @@ let
desktopName = "Cisco Packet Tracer 8";
icon = "${ptFiles}/opt/pt/art/app.png";
exec = "packettracer8 %f";
mimeType = "application/x-pkt;application/x-pka;application/x-pkz;";
mimeTypes = [ "application/x-pkt" "application/x-pka" "application/x-pkz" ];
};
fhs = buildFHSUserEnvBubblewrap {

@ -24,8 +24,8 @@ let
comment = "Sync your files across computers and to the web";
desktopName = "Dropbox";
genericName = "File Synchronizer";
categories = "Network;FileTransfer;";
startupNotify = "false";
categories = [ "Network" "FileTransfer" ];
startupNotify = false;
icon = "dropbox";
};
in

@ -103,11 +103,9 @@ in nodePackages.deltachat-desktop.override rec {
desktopName = "Delta Chat";
genericName = "Delta Chat";
comment = meta.description;
categories = "Network;InstantMessaging;Chat;";
extraEntries = ''
StartupWMClass=DeltaChat
MimeType=x-scheme-handler/openpgp4fpr;x-scheme-handler/mailto;
'';
categories = [ "Network" "InstantMessaging" "Chat" ];
startupWMClass = "DeltaChat";
mimeTypes = [ "x-scheme-handler/openpgp4fpr" "x-scheme-handler/mailto" ];
});
passthru.updateScript = ./update.sh;

@ -100,8 +100,8 @@ stdenv.mkDerivation rec {
icon = pname;
inherit desktopName;
genericName = meta.description;
categories = "Network;InstantMessaging;";
mimeType = "x-scheme-handler/discord";
categories = [ "Network" "InstantMessaging" ];
mimeTypes = [ "x-scheme-handler/discord" ];
};
passthru.updateScript = writeScript "discord-update-script" ''

@ -106,11 +106,9 @@ mkYarnPackage rec {
desktopName = "Element";
genericName = "Matrix Client";
comment = meta.description;
categories = "Network;InstantMessaging;Chat;";
extraEntries = ''
StartupWMClass=element
MimeType=x-scheme-handler/element;
'';
categories = [ "Network" "InstantMessaging" "Chat" ];
startupWMClass = "element";
mimeTypes = [ "x-scheme-handler/element" ];
};
passthru = {

@ -88,7 +88,7 @@ in stdenv.mkDerivation rec {
icon = pname;
desktopName = "Gitter";
genericName = meta.description;
categories = "Network;InstantMessaging;";
categories = [ "Network" "InstantMessaging" ];
};
meta = with lib; {

@ -40,10 +40,10 @@ buildGoModule rec {
makeDesktopItem {
name = "net.maunium.gomuks.desktop";
exec = "@out@/bin/gomuks";
terminal = "true";
terminal = true;
desktopName = "Gomuks";
genericName = "Matrix client";
categories = "Network;Chat";
categories = [ "Network" "Chat" ];
comment = meta.description;
}
}/* $out/

@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
comment = "VoIP and Instant Messaging client";
desktopName = "Jitsi";
genericName = "Instant Messaging";
categories = "Chat";
categories = [ "Chat" ];
};
libPath = lib.makeLibraryPath ([

@ -49,9 +49,9 @@ let
desktopName = "mikutter";
exec = "mikutter";
icon = "mikutter";
categories = "Network;";
categories = [ "Network" ];
comment = description;
extraDesktopEntries.Keywords = "Mastodon;";
keywords = [ "Mastodon" ];
};
mkInfoPlist = { version }:

@ -10,8 +10,7 @@ let
name = pname;
exec = pname;
icon = pname;
type = "Application";
categories = "Network;";
categories = [ "Network" ];
});
appimageContents = appimageTools.extractType2 {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save