python311Packages.google: init at 3.0.0

This commit is contained in:
Fabian Affolter 2023-06-29 09:18:11 +02:00
parent 059e9e432c
commit 21db11de34
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, beautifulsoup4
, pythonOlder
}:
buildPythonPackage rec {
pname = "google";
version = "3.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-FDUwEi7lEwUJrV6YnwUS98shiy1O3br7rUD9EOjYzL4=";
};
propagatedBuildInputs = [
beautifulsoup4
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"googlesearch"
];
meta = with lib; {
description = "Python bindings to the Google search engine";
homepage = "https://pypi.org/project/google/";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -4189,6 +4189,8 @@ self: super: with self; {
goodwe = callPackage ../development/python-modules/goodwe { };
google = callPackage ../development/python-modules/google { };
google-ai-generativelanguage = callPackage ../development/python-modules/google-ai-generativelanguage { };
google-api-core = callPackage ../development/python-modules/google-api-core { };