mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
media-downloader: init at 2.4.0
Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
This commit is contained in:
parent
b5c2b76cf4
commit
8dcdd419d1
39
pkgs/applications/video/media-downloader/default.nix
Normal file
39
pkgs/applications/video/media-downloader/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -28338,6 +28338,8 @@ with pkgs;
|
|||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
media-downloader = callPackage ../applications/video/media-downloader { };
|
||||
|
||||
mediaelch = libsForQt5.callPackage ../applications/misc/mediaelch { };
|
||||
|
||||
mediainfo = callPackage ../applications/misc/mediainfo { };
|
||||
|
|
Loading…
Reference in a new issue