media-downloader: refactor
This commit is contained in:
parent
c2432dfe3a
commit
57a8bb93b0
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
aria2,
|
aria2,
|
||||||
cmake,
|
cmake,
|
||||||
# https://github.com/mhogomchungu/media-downloader?tab=readme-ov-file#extensions
|
|
||||||
extraPackages ? [
|
extraPackages ? [
|
||||||
aria2
|
aria2
|
||||||
ffmpeg
|
ffmpeg
|
||||||
@ -10,8 +9,8 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
ffmpeg,
|
ffmpeg,
|
||||||
lib,
|
lib,
|
||||||
libsForQt5,
|
|
||||||
python3,
|
python3,
|
||||||
|
qt6,
|
||||||
stdenv,
|
stdenv,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -28,10 +27,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
libsForQt5.wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ libsForQt5.qtbase ];
|
buildInputs = [
|
||||||
|
qt6.qtbase
|
||||||
|
qt6.qtwayland
|
||||||
|
];
|
||||||
|
|
||||||
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath extraPackages}" ];
|
qtWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath extraPackages}" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user