at master 716 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 beautifulsoup4, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "google"; 11 version = "3.0.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-FDUwEi7lEwUJrV6YnwUS98shiy1O3br7rUD9EOjYzL4="; 19 }; 20 21 propagatedBuildInputs = [ beautifulsoup4 ]; 22 23 # Module has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "googlesearch" ]; 27 28 meta = with lib; { 29 description = "Python bindings to the Google search engine"; 30 mainProgram = "google"; 31 homepage = "https://pypi.org/project/google/"; 32 license = with licenses; [ bsd3 ]; 33 maintainers = with maintainers; [ fab ]; 34 }; 35}