Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
971 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, asyncpg, buildPythonPackage, fetchPypi, llama-index-core, pgvector, hatchling, psycopg2,}:
buildPythonPackage rec { pname = "llama-index-vector-stores-postgres"; version = "0.6.1"; pyproject = true;
src = fetchPypi { pname = "llama_index_vector_stores_postgres"; inherit version; hash = "sha256-E+PFvOTRO3FGGSwFwEUe0fEpmuE/fmRtiCGHwO53qm4="; };
pythonRemoveDeps = [ "psycopg2-binary" ];
pythonRelaxDeps = [ "pgvector" ];
build-system = [ hatchling ];
dependencies = [ asyncpg llama-index-core pgvector psycopg2 ];
pythonImportsCheck = [ "llama_index.vector_stores.postgres" ];
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 = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}