forked from mirrors/nixpkgs
Merge pull request #104222 from freezeboy/unbreak-tubeup
This commit is contained in:
commit
a42535b6b8
|
@ -2,7 +2,7 @@
|
|||
, buildPythonPackage
|
||||
, internetarchive
|
||||
, fetchPypi
|
||||
, youtube-dl
|
||||
, youtube-dlc
|
||||
, docopt
|
||||
, isPy27
|
||||
}:
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
substituteInPlace setup.py --replace "docopt==0.6.2" "docopt"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ internetarchive docopt youtube-dl ];
|
||||
propagatedBuildInputs = [ internetarchive docopt youtube-dlc ];
|
||||
|
||||
pythonImportsCheck = [ "tubeup" ];
|
||||
|
||||
|
|
23
pkgs/development/python-modules/youtube-dlc/default.nix
Normal file
23
pkgs/development/python-modules/youtube-dlc/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "youtube_dlc";
|
||||
version = "2020.11.11.post3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "WqoKpfvVPZrN+pW6s8JoApJusn5CXyPcg9VcsY8R0FM=";
|
||||
};
|
||||
|
||||
# They are broken
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "youtube_dlc" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "Media downloader supporting various sites such as youtube";
|
||||
description = "https://github.com/blackjack4494/yt-dlc";
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ freezeboy ];
|
||||
};
|
||||
}
|
|
@ -7891,6 +7891,8 @@ in {
|
|||
phantomjsSupport = false;
|
||||
};
|
||||
|
||||
youtube-dlc = callPackage ../development/python-modules/youtube-dlc { };
|
||||
|
||||
yowsup = callPackage ../development/python-modules/yowsup { };
|
||||
|
||||
yq = callPackage ../development/python-modules/yq { };
|
||||
|
|
Loading…
Reference in a new issue