python312Packages.google-generativeai: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-09 10:19:57 +02:00
parent 367f4a6a8d
commit 090ee63beb
1 changed files with 19 additions and 26 deletions

View File

@ -1,17 +1,18 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, google-ai-generativelanguage
, google-api-core
, google-api-python-client
, google-auth
, protobuf
, pydantic
, pythonOlder
, pythonRelaxDepsHook
, setuptools
, tqdm
, typing-extensions
{
lib,
buildPythonPackage,
fetchFromGitHub,
google-ai-generativelanguage,
google-api-core,
google-api-python-client,
google-auth,
protobuf,
pydantic,
pythonOlder,
pythonRelaxDepsHook,
setuptools,
tqdm,
typing-extensions,
}:
buildPythonPackage rec {
@ -28,17 +29,11 @@ buildPythonPackage rec {
hash = "sha256-WFkzqsiYADrxVUHClBHY0+oYz2sF52DrVblHT+94QYw=";
};
pythonRelaxDeps = [
"google-ai-generativelanguage"
];
pythonRelaxDeps = [ "google-ai-generativelanguage" ];
build-system = [
setuptools
];
build-system = [ setuptools ];
nativeBuildInputs = [
pythonRelaxDepsHook
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
google-ai-generativelanguage
@ -54,9 +49,7 @@ buildPythonPackage rec {
# Issue with the google.ai module. Check with the next release
doCheck = false;
pythonImportsCheck = [
"google.generativeai"
];
pythonImportsCheck = [ "google.generativeai" ];
meta = with lib; {
description = "Python client library for Google's large language model PaLM API";