From 9f8c7459a7fcd2d24da15e6220ef4bd0c7182efa Mon Sep 17 00:00:00 2001 From: Matt Melling Date: Thu, 4 Nov 2021 17:16:02 +0000 Subject: [PATCH] python3Packages.tubeup: fix dependencies --- pkgs/development/python-modules/tubeup/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/tubeup/default.nix b/pkgs/development/python-modules/tubeup/default.nix index 49a293565595..65553dc18834 100644 --- a/pkgs/development/python-modules/tubeup/default.nix +++ b/pkgs/development/python-modules/tubeup/default.nix @@ -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" ];