python3Packages.tubeup: fix dependencies

This commit is contained in:
Matt Melling 2021-11-04 17:16:02 +00:00
parent 1221903710
commit 9f8c7459a7
No known key found for this signature in database
GPG Key ID: 92FC861888D08853

View File

@ -2,7 +2,7 @@
, buildPythonPackage
, internetarchive
, fetchPypi
, youtube-dl
, yt-dlp
, docopt
, isPy27
}:
@ -19,10 +19,12 @@ buildPythonPackage rec {
};
postPatch = ''
substituteInPlace setup.py --replace "docopt==0.6.2" "docopt"
substituteInPlace setup.py \
--replace "docopt==0.6.2" "docopt" \
--replace "internetarchive==2.0.3" "internetarchive"
'';
propagatedBuildInputs = [ internetarchive docopt youtube-dl ];
propagatedBuildInputs = [ internetarchive docopt yt-dlp ];
pythonImportsCheck = [ "tubeup" ];