media-downloader: 2.9.0 -> 3.1.0
This commit is contained in:
parent
cc5bde4085
commit
17af0c2ea3
|
@ -2,38 +2,48 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, qt5
|
, wrapQtAppsHook
|
||||||
, ffmpeg-full
|
, qtbase
|
||||||
, aria2
|
, aria2
|
||||||
, yt-dlp
|
, ffmpeg
|
||||||
, python3
|
, python3
|
||||||
|
, yt-dlp
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "media-downloader";
|
pname = "media-downloader";
|
||||||
version = "2.9.0";
|
version = "3.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mhogomchungu";
|
owner = "mhogomchungu";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "sha256-3tVOyIwdGcSVnEJWQWh6HIsjY6uEzWkTs45qf81r/+0=";
|
hash = "sha256-/oKvjmLFchR2B/mcLIUVIHBK78u2OQGf2aiwVR/ZoQc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake qt5.wrapQtAppsHook ];
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
preFixup = ''
|
buildInputs = [
|
||||||
qtWrapperArgs+=(
|
qtbase
|
||||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg-full aria2 yt-dlp python3 ]}"
|
];
|
||||||
)
|
|
||||||
'';
|
qtWrapperArgs = [
|
||||||
|
"--prefix PATH : ${lib.makeBinPath [
|
||||||
|
aria2
|
||||||
|
ffmpeg
|
||||||
|
python3
|
||||||
|
yt-dlp
|
||||||
|
]}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Qt/C++ GUI front end to youtube-dl";
|
description = "A Qt/C++ GUI front end to youtube-dl";
|
||||||
homepage = "https://github.com/mhogomchungu/media-downloader";
|
homepage = "https://github.com/mhogomchungu/media-downloader";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
broken = stdenv.isDarwin;
|
platforms = platforms.linux;
|
||||||
platforms = platforms.unix;
|
|
||||||
maintainers = with maintainers; [ zendo ];
|
maintainers = with maintainers; [ zendo ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -31820,7 +31820,7 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
};
|
};
|
||||||
|
|
||||||
media-downloader = callPackage ../applications/video/media-downloader { };
|
media-downloader = libsForQt5.callPackage ../applications/video/media-downloader { };
|
||||||
|
|
||||||
mediaelch = mediaelch-qt5;
|
mediaelch = mediaelch-qt5;
|
||||||
mediaelch-qt5 = libsForQt5.callPackage ../applications/misc/mediaelch { };
|
mediaelch-qt5 = libsForQt5.callPackage ../applications/misc/mediaelch { };
|
||||||
|
|
Loading…
Reference in a new issue