mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Merge pull request #144637 from mattmelling/tubeup
python3Packages.tubeup: fix dependencies
This commit is contained in:
commit
0dfce1011c
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user