ytmdesktop: fix desktop file, removed unused stuff

(cherry picked from commit 6e3d2497a2)
This commit is contained in:
Ingo Reitz 2024-07-11 13:00:47 +02:00 committed by teutat3s
parent 49cf63666e
commit 0a1e4157ca
No known key found for this signature in database
GPG Key ID: 18DAE600A6BBE705

View File

@ -1,14 +1,12 @@
{
lib,
asar,
binutils,
commandLineArgs ? "",
copyDesktopItems,
electron_30,
fetchurl,
makeDesktopItem,
makeWrapper,
nix-update-script,
stdenv,
zstd,
}:
@ -16,19 +14,21 @@ stdenv.mkDerivation (finalAttrs: {
pname = "ytmdesktop";
version = "2.0.5";
desktopItem = makeDesktopItem {
desktopName = "Youtube Music Desktop App";
exec = "ytmdesktop";
icon = "ytmdesktop";
name = "ytmdesktop";
genericName = finalAttrs.meta.description;
mimeTypes = [ "x-scheme-handler/ytmd" ];
categories = [
"AudioVideo"
"Audio"
];
startupNotify = true;
};
desktopItems = [
(makeDesktopItem {
desktopName = "Youtube Music Desktop App";
exec = "ytmdesktop";
icon = "ytmdesktop";
name = "ytmdesktop";
genericName = finalAttrs.meta.description;
mimeTypes = [ "x-scheme-handler/ytmd" ];
categories = [
"AudioVideo"
"Audio"
];
startupNotify = true;
})
];
nativeBuildInputs = [
asar