mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
23 lines
660 B
Nix
23 lines
660 B
Nix
{ lib, stdenv, fetchFromGitHub, postgresql, buildPostgresqlExtension }:
|
|
|
|
buildPostgresqlExtension rec {
|
|
pname = "pgvector";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pgvector";
|
|
repo = "pgvector";
|
|
rev = "v${version}";
|
|
hash = "sha256-JsZV+I4eRMypXTjGmjCtMBXDVpqTIPHQa28ogXncE/Q=";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Open-source vector similarity search for PostgreSQL";
|
|
homepage = "https://github.com/pgvector/pgvector";
|
|
changelog = "https://github.com/pgvector/pgvector/raw/v${version}/CHANGELOG.md";
|
|
license = licenses.postgresql;
|
|
platforms = postgresql.meta.platforms;
|
|
maintainers = [ ];
|
|
};
|
|
}
|