{stdenv}: { name , type ? "Application" , exec , icon ? "" , comment ? "" , terminal ? "false" , desktopName , genericName , mimeType ? "" , categories ? "Application;Other;" , startupNotify ? null }: stdenv.mkDerivation { inherit name; buildCommand = '' mkdir -p $out/share/applications cat > $out/share/applications/$name.desktop <