Commit 090ee63b authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.google-generativeai: format with nixfmt

parent 367f4a6a
Loading
Loading
Loading
Loading
+19 −26
Original line number Diff line number Diff line
{ 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";