diff --git a/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix b/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix index 21b9f3bc3f02..722139cfdedc 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-gemini/default.nix @@ -1,17 +1,18 @@ -{ lib -, buildPythonPackage -, fetchPypi -, google-generativeai -, llama-index-core -, poetry-core -, pytestCheckHook -, pythonRelaxDepsHook -, pythonOlder +{ + lib, + buildPythonPackage, + fetchPypi, + google-generativeai, + llama-index-core, + poetry-core, + pytestCheckHook, + pythonRelaxDepsHook, + pythonOlder, }: buildPythonPackage rec { pname = "llama-index-embeddings-gemini"; - version = "0.1.5"; + version = "0.1.6"; pyproject = true; disabled = pythonOlder "3.9"; @@ -19,15 +20,16 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_gemini"; inherit version; - hash = "sha256-FQzZ+MjuAApOImpxQhuaCFDIKdojzD5zqDOepo8fCNo="; + hash = "sha256-HYwYA67/7gDxE7ZxQkkyblgwE83gZXuDmUuseXujr5g="; }; - pythonRelaxDeps = [ - "google-generativeai" - ]; + pythonRelaxDeps = [ "google-generativeai" ]; build-system = [ poetry-core + ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; @@ -39,9 +41,7 @@ buildPythonPackage rec { # Tests are only available in the mono repo doCheck = false; - pythonImportsCheck = [ - "llama_index.embeddings.gemini" - ]; + pythonImportsCheck = [ "llama_index.embeddings.gemini" ]; meta = with lib; { description = "LlamaIndex Llms Integration for Gemini"; diff --git a/pkgs/development/python-modules/llama-index-embeddings-google/default.nix b/pkgs/development/python-modules/llama-index-embeddings-google/default.nix index eb378f7ca3af..cebedfe90b62 100644 --- a/pkgs/development/python-modules/llama-index-embeddings-google/default.nix +++ b/pkgs/development/python-modules/llama-index-embeddings-google/default.nix @@ -1,16 +1,17 @@ -{ lib -, buildPythonPackage -, fetchPypi -, google-generativeai -, llama-index-core -, poetry-core -, pythonOlder -, pythonRelaxDepsHook +{ + lib, + buildPythonPackage, + fetchPypi, + google-generativeai, + llama-index-core, + poetry-core, + pythonOlder, + pythonRelaxDepsHook, }: buildPythonPackage rec { pname = "llama-index-embeddings-google"; - version = "0.1.4"; + version = "0.1.5"; pyproject = true; disabled = pythonOlder "3.8"; @@ -18,17 +19,14 @@ buildPythonPackage rec { src = fetchPypi { pname = "llama_index_embeddings_google"; inherit version; - hash = "sha256-jQYN/5XPCrMjvwXBARdRDLC+3JhqgZjlcVajmcRlVJw="; + hash = "sha256-mJ+H4klmGlpTGXLErlLNWH5IUpGyXnbAhNsgT5fwCHs="; }; - pythonRelaxDeps = [ - "google-generativeai" - ]; + pythonRelaxDeps = [ "google-generativeai" ]; - build-system = [ - poetry-core - pythonRelaxDepsHook - ]; + build-system = [ poetry-core ]; + + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ google-generativeai @@ -38,9 +36,7 @@ buildPythonPackage rec { # Tests are only available in the mono repo doCheck = false; - pythonImportsCheck = [ - "llama_index.embeddings.google" - ]; + pythonImportsCheck = [ "llama_index.embeddings.google" ]; meta = with lib; { description = "LlamaIndex Embeddings Integration for Google";