1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 requests, 7}: 8 9buildPythonPackage rec { 10 pname = "youtube-search"; 11 version = "2.1.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-V0mm2Adv2mVVfJE2fw+rCTYpDs3qRXyDHJ8/BZGKOqI="; 19 }; 20 21 propagatedBuildInputs = [ requests ]; 22 23 # Tests require network connection 24 doCheck = false; 25 26 pythonImportsCheck = [ "youtube_search" ]; 27 28 meta = with lib; { 29 description = "Tool for searching for youtube videos to avoid using their heavily rate-limited API"; 30 homepage = "https://github.com/joetats/youtube_search"; 31 license = licenses.mit; 32 maintainers = with maintainers; [ j0hax ]; 33 }; 34}