[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add pgvector.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add pgvector. |
Date: |
Thu, 29 Feb 2024 11:02:27 -0500 |
This is an automated email from the git hooks/post-receive script.
rekado pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 63f9e7deaf gnu: Add pgvector.
63f9e7deaf is described below
commit 63f9e7deaf235130bc01cbf51268d40dedb467ae
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Feb 29 17:00:17 2024 +0100
gnu: Add pgvector.
* gnu/packages/databases.scm (pgvector): New variable.
Change-Id: I07b87956edc4c32d2ff1af2995a2a965fddf4ab7
---
gnu/packages/databases.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index bbb8df8406..0f448c4a24 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1480,6 +1480,44 @@ PostgreSQL extension, providing automatic partitioning
across time and space
(partitioning key), as well as full SQL support.")
(license license:asl2.0)))
+(define-public pgvector
+ (package
+ (name "pgvector")
+ (version "0.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pgvector/pgvector")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "19zcjrlmyj7gfbn8prh014yq50iy4dg97pirsm7idxsr829vwyc5"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ ;; Do not use -march=native
+ #:make-flags
+ #~(list "OPTFLAGS="
+ (string-append "DESTDIR=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure))))
+ (inputs (list postgresql))
+ (home-page "https://github.com/pgvector/pgvector")
+ (synopsis "Vector similarity search for Postgres")
+ (description
+ "This package provides a vector similarity search extension for Postgres.
+Store your vectors with the rest of your data. It supports:
+
+@itemize
+@item exact and approximate nearest neighbor search;
+@item L2 distance, inner product, and cosine distance;
+@item any language with a Postgres client.
+@end itemize
+")
+ (license (license:x11-style "file://COPYRIGHT"))))
+
(define-public pgloader
(package
(name "pgloader")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add pgvector.,
guix-commits <=