media-downloader: init at 2.4.0

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
zendo 2022-07-02 08:44:12 +08:00
parent b5c2b76cf4
commit 8dcdd419d1
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, qt5
, ffmpeg-full
, aria2
, yt-dlp
, python3
}:
stdenv.mkDerivation rec {
pname = "media-downloader";
version = "2.4.0";
src = fetchFromGitHub {
owner = "mhogomchungu";
repo = pname;
rev = "${version}";
sha256 = "sha256-EyfhomwBtdAt6HGRwnpiijm2D1LfaCAoG5qk3orDG98=";
};
nativeBuildInputs = [ cmake qt5.wrapQtAppsHook ];
preFixup = ''
qtWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ ffmpeg-full aria2 yt-dlp python3 ]}"
)
'';
meta = with lib; {
description = "A Qt/C++ GUI front end to youtube-dl";
homepage = "https://github.com/mhogomchungu/media-downloader";
license = licenses.gpl2Plus;
broken = stdenv.isDarwin;
platforms = platforms.unix;
maintainers = with maintainers; [ zendo ];
};
}

View file

@ -28338,6 +28338,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreServices; inherit (darwin.apple_sdk.frameworks) CoreServices;
}; };
media-downloader = callPackage ../applications/video/media-downloader { };
mediaelch = libsForQt5.callPackage ../applications/misc/mediaelch { }; mediaelch = libsForQt5.callPackage ../applications/misc/mediaelch { };
mediainfo = callPackage ../applications/misc/mediainfo { }; mediainfo = callPackage ../applications/misc/mediainfo { };