1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 httpx, 7}: 8 9buildPythonPackage rec { 10 pname = "youtube-search-python"; 11 version = "1.6.6"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.6"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-RWjR12ns1+tLuDZfBO7G42TF9w7sezdl9UPa67E1/PU="; 19 }; 20 21 patches = [ ./fix-httpx-proxies.patch ]; 22 23 propagatedBuildInputs = [ httpx ]; 24 25 pythonImportsCheck = [ "youtubesearchpython" ]; 26 27 # Project has no tests 28 doCheck = false; 29 30 meta = with lib; { 31 description = "Search for YouTube videos, channels & playlists & get video information using link without YouTube Data API"; 32 homepage = "https://github.com/alexmercerind/youtube-search-python"; 33 license = licenses.mit; 34 maintainers = [ ]; 35 }; 36}