summary refs log tree commit diff
path: root/pkgs/applications/version-management/smartgithg
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-02-22 17:56:15 +0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-02-25 13:40:38 -0800
commitcb2cfba6f7690d4b8754b0dd5a504efe93d7f44d (patch)
tree63bf69cdc1c296e10bf6543aa890855cccf1da57 /pkgs/applications/version-management/smartgithg
parent0c713dbed40dd87090a4632cffc7b088653f35cb (diff)
downloadnixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar
nixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.gz
nixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.bz2
nixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.lz
nixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.xz
nixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.tar.zst
nixpkgs-cb2cfba6f7690d4b8754b0dd5a504efe93d7f44d.zip
treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
Diffstat (limited to 'pkgs/applications/version-management/smartgithg')
-rw-r--r--pkgs/applications/version-management/smartgithg/default.nix14
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/applications/version-management/smartgithg/default.nix b/pkgs/applications/version-management/smartgithg/default.nix
index 3c0e540d228..4c147049569 100644
--- a/pkgs/applications/version-management/smartgithg/default.nix
+++ b/pkgs/applications/version-management/smartgithg/default.nix
@@ -65,23 +65,19 @@ stdenv.mkDerivation rec {
     comment = meta.description;
     icon = "smartgit";
     desktopName = "SmartGit";
-    categories = concatStringsSep ";" [
+    categories = [
       "Application"
       "Development"
       "RevisionControl"
     ];
-    mimeType = concatStringsSep ";" [
+    mimeTypes = [
       "x-scheme-handler/git"
       "x-scheme-handler/smartgit"
       "x-scheme-handler/sourcetree"
     ];
-    startupNotify = "true";
-    extraEntries = ''
-      Keywords=git
-      StartupWMClass=${name}
-      Version=1.0
-      Encoding=UTF-8
-    '';
+    startupNotify = true;
+    startupWMClass = name;
+    keywords = [ "git" ];
   };
 
   meta = with lib; {