youtube-dl: use toPythonApplication (#40831)
This commit is contained in:
parent
561a1f177a
commit
57d591ec7f
@ -1,4 +1,4 @@
|
||||
{ stdenv, targetPlatform, fetchurl, buildPythonApplication
|
||||
{ stdenv, targetPlatform, fetchurl, buildPythonPackage
|
||||
, zip, ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome, pandoc
|
||||
# Pandoc is required to build the package's man page. Release tarballs contain a
|
||||
# formatted man page already, though, it will still be installed. We keep the
|
||||
@ -13,7 +13,7 @@
|
||||
, makeWrapper }:
|
||||
|
||||
with stdenv.lib;
|
||||
buildPythonApplication rec {
|
||||
buildPythonPackage rec {
|
||||
|
||||
pname = "youtube-dl";
|
||||
version = "2018.05.18";
|
||||
|
@ -15089,7 +15089,6 @@ with pkgs;
|
||||
bombono = callPackage ../applications/video/bombono {};
|
||||
|
||||
bomi = libsForQt5.callPackage ../applications/video/bomi {
|
||||
youtube-dl = pythonPackages.youtube-dl;
|
||||
pulseSupport = config.pulseaudio or true;
|
||||
ffmpeg = ffmpeg_2;
|
||||
};
|
||||
@ -17045,7 +17044,6 @@ with pkgs;
|
||||
|
||||
mpv = callPackage ../applications/video/mpv rec {
|
||||
inherit (luaPackages) luasocket;
|
||||
youtube-dl = pythonPackages.youtube-dl;
|
||||
waylandSupport = stdenv.isLinux;
|
||||
alsaSupport = !stdenv.isDarwin;
|
||||
pulseSupport = !stdenv.isDarwin;
|
||||
@ -18970,7 +18968,9 @@ with pkgs;
|
||||
|
||||
yoshimi = callPackage ../applications/audio/yoshimi { };
|
||||
|
||||
inherit (pythonPackages) youtube-dl;
|
||||
youtube-dl = with pythonPackages; toPythonApplication youtube-dl;
|
||||
|
||||
youtube-dl-light = with pythonPackages; toPythonApplication youtube-dl-light;
|
||||
|
||||
youtube-viewer = perlPackages.WWWYoutubeViewer;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user