diff --git a/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix b/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix index dae67d644021..517aeb8fa773 100644 --- a/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix +++ b/pkgs/development/python-modules/llama-index-vector-stores-postgres/default.nix @@ -7,7 +7,6 @@ pgvector, poetry-core, psycopg2, - pythonOlder, }: buildPythonPackage rec { @@ -15,8 +14,6 @@ buildPythonPackage rec { version = "0.2.6"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchPypi { pname = "llama_index_vector_stores_postgres"; inherit version; @@ -25,6 +22,10 @@ buildPythonPackage rec { pythonRemoveDeps = [ "psycopg2-binary" ]; + pythonRelaxDeps = [ + "pgvector" + ]; + build-system = [ poetry-core ]; @@ -38,10 +39,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "llama_index.vector_stores.postgres" ]; - meta = with lib; { + meta = { description = "LlamaIndex Vector Store Integration for Postgres"; homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-postgres"; - license = licenses.mit; - maintainers = with maintainers; [ fab ]; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; }; }