Unverified Commit 54ad62ef authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.llama-index-embeddings-google-genai: init at 0.5.0;...

python3Packages.llama-index-embeddings-google-genai: init at 0.5.0; python3Packages.llama-index-embeddings-{google,gemini}: drop (#503611)
parents 0aa0b916 79bcd14b
Loading
Loading
Loading
Loading
+0 −41
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  google-generativeai,
  llama-index-core,
  hatchling,
}:

buildPythonPackage (finalAttrs: {
  pname = "llama-index-embeddings-gemini";
  version = "0.4.2";
  pyproject = true;

  src = fetchPypi {
    pname = "llama_index_embeddings_gemini";
    inherit (finalAttrs) version;
    hash = "sha256-GY983cmRtwir+2q0qyJW5iFmK+96ed5lu6pKHcUm/4g=";
  };

  pythonRelaxDeps = [ "google-generativeai" ];

  build-system = [ hatchling ];

  dependencies = [
    google-generativeai
    llama-index-core
  ];

  # Tests are only available in the mono repo
  doCheck = false;

  pythonImportsCheck = [ "llama_index.embeddings.gemini" ];

  meta = {
    description = "LlamaIndex Llms Integration for Gemini";
    homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-gemini";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
})
+11 −13
Original line number Diff line number Diff line
@@ -2,40 +2,38 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  google-generativeai,
  llama-index-core,
  hatchling,
  llama-index-core,
  google-genai,
}:

buildPythonPackage (finalAttrs: {
  pname = "llama-index-embeddings-google";
  version = "0.4.2";
  pname = "llama-index-embeddings-google-genai";
  version = "0.5.0";
  pyproject = true;

  src = fetchPypi {
    pname = "llama_index_embeddings_google";
    pname = "llama_index_embeddings_google_genai";
    inherit (finalAttrs) version;
    hash = "sha256-dWV2fKudLsxfpHTGrGljMBU62vYUqzf8NarQ3Nl9poI=";
    hash = "sha256-BR18oKleO8HQ8y9cwWfMoRnOQrxKUWyBF5NMWJyTsZ8=";
  };

  pythonRelaxDeps = [ "google-generativeai" ];

  build-system = [ hatchling ];

  dependencies = [
    google-generativeai
    llama-index-core
    google-genai
  ];

  # Tests are only available in the mono repo
  doCheck = false;

  pythonImportsCheck = [ "llama_index.embeddings.google" ];
  pythonImportsCheck = [ "llama_index.embeddings.google_genai" ];

  meta = {
    description = "LlamaIndex Embeddings Integration for Google";
    homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-google";
    description = "LlamaIndex Embeddings Integration for Google GenAI";
    homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/embeddings/llama-index-embeddings-google-genai";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
    maintainers = [ ];
  };
})
+2 −0
Original line number Diff line number Diff line
@@ -291,6 +291,8 @@ mapAliases {
  linear-garage-door = throw "'linear-garage-door' has been superseded by 'nice-go'"; # Added 2025-11-16
  linear_operator = throw "'linear_operator' has been renamed to/replaced by 'linear-operator'"; # Converted to throw 2025-10-29
  llama-cloud-services = throw "'llama-cloud-services' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # Added 2026-03-25
  llama-index-embeddings-gemini = throw "'llama-index-embeddings-gemini' has been removed as it was deprecated upstream in favor of 'llama-index-embeddings-google-genai'"; # Added 2026-03-25
  llama-index-embeddings-google = throw "'llama-index-embeddings-google' has been removed as it was deprecated upstream in favor of 'llama-index-embeddings-google-genai'"; # Added 2026-03-25
  llama-index-indices-managed-llama-cloud = throw "'llama-index-indices-managed-llama-cloud' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # Added 2026-03-24
  llama-index-multi-modal-llms-openai = throw "'llama-index-multi-modal-llms-openai' has been removed as it was deprecated in favor of 'llama-index-llms-openai'"; # added 2026-03-25
  llama-index-readers-llama-parse = throw "'llama-index-readers-llama-parse' has been removed as it was deprecated upstream in favor of 'llama-cloud'"; # added 2026-03-25
+2 −6
Original line number Diff line number Diff line
@@ -9019,12 +9019,8 @@ self: super: with self; {
  llama-index-core = callPackage ../development/python-modules/llama-index-core { };
  llama-index-embeddings-gemini =
    callPackage ../development/python-modules/llama-index-embeddings-gemini
      { };
  llama-index-embeddings-google =
    callPackage ../development/python-modules/llama-index-embeddings-google
  llama-index-embeddings-google-genai =
    callPackage ../development/python-modules/llama-index-embeddings-google-genai
      { };
  llama-index-embeddings-huggingface =