mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
python311Packages.google: init at 3.0.0
This commit is contained in:
parent
059e9e432c
commit
21db11de34
37
pkgs/development/python-modules/google/default.nix
Normal file
37
pkgs/development/python-modules/google/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue