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