0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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