Commit 21db11de authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python311Packages.google: init at 3.0.0

parent 059e9e43
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };