Merge pull request #144637 from mattmelling/tubeup

python3Packages.tubeup: fix dependencies
This commit is contained in:
Thiago Kenji Okada 2021-11-04 19:31:41 -03:00 committed by GitHub
commit 0dfce1011c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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" ];