media-downloader: refactor

This commit is contained in:
aleksana 2025-03-12 21:22:37 +08:00 committed by Weijia Wang
parent c2432dfe3a
commit 57a8bb93b0

View File

@ -1,7 +1,6 @@
{
aria2,
cmake,
# https://github.com/mhogomchungu/media-downloader?tab=readme-ov-file#extensions
extraPackages ? [
aria2
ffmpeg
@ -10,8 +9,8 @@
fetchFromGitHub,
ffmpeg,
lib,
libsForQt5,
python3,
qt6,
stdenv,
}:
@ -28,10 +27,13 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
cmake
libsForQt5.wrapQtAppsHook
qt6.wrapQtAppsHook
];
buildInputs = [ libsForQt5.qtbase ];
buildInputs = [
qt6.qtbase
qt6.qtwayland
];
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath extraPackages}" ];