From e51e07e4be829c04814eba458e5dbfe69a8ad421 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 12 Jun 2024 23:22:04 +0200 Subject: [PATCH] yt-dlg: install desktop item --- pkgs/by-name/yt/yt-dlg/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/yt/yt-dlg/package.nix b/pkgs/by-name/yt/yt-dlg/package.nix index e245cba7c2a2..8cc4d65b2a91 100644 --- a/pkgs/by-name/yt/yt-dlg/package.nix +++ b/pkgs/by-name/yt/yt-dlg/package.nix @@ -40,6 +40,11 @@ python3Packages.buildPythonApplication rec { wxpython ]; + postInstall = '' + install -Dm444 yt-dlg.desktop -t $out/share/applications + cp -r youtube_dl_gui/data/* $out/share + ''; + meta = { description = "Cross platform front-end GUI of the popular youtube-dl written in wxPython"; homepage = "https://oleksis.github.io/youtube-dl-gui";