mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
python311Packages.google-ai-generativelanguage: init at 0.3.0
This commit is contained in:
parent
65365bbb83
commit
665f414a22
@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-testutils
|
||||
, grpcio
|
||||
, grpcio-status
|
||||
, mock
|
||||
, proto-plus
|
||||
, protobuf
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-ai-generativelanguage";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-EIQruf8+/VFIlRBU9sI7bT4Xk3blFmSLhxJnMw1E4oA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
google-api-core
|
||||
grpcio
|
||||
grpcio-status
|
||||
proto-plus
|
||||
protobuf
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
google-cloud-testutils
|
||||
mock
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.ai.generativelanguage"
|
||||
"google.ai.generativelanguage_v1beta2"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Ai Generativelanguage API client library";
|
||||
homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-ai-generativelanguage";
|
||||
changelog = "https://github.com/googleapis/google-cloud-python/blob/google-ai-generativelanguage-v${version}/packages/google-ai-generativelanguage/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -4183,6 +4183,8 @@ self: super: with self; {
|
||||
|
||||
goodwe = callPackage ../development/python-modules/goodwe { };
|
||||
|
||||
google-ai-generativelanguage = callPackage ../development/python-modules/google-ai-generativelanguage { };
|
||||
|
||||
google-api-core = callPackage ../development/python-modules/google-api-core { };
|
||||
|
||||
google-api-python-client = callPackage ../development/python-modules/google-api-python-client { };
|
||||
|
Loading…
Reference in New Issue
Block a user